Commit 7e89c3a3 by Richard Kenner

(main): Turn on -fomit-frame-pointer if it is safe.

Add -O3, which turns on -finline-functions.

From-SVN: r6350
parent 7be1e523
......@@ -3008,6 +3008,9 @@ main (argc, argv, envp)
#ifdef DELAY_SLOTS
flag_delayed_branch = 1;
#endif
#ifdef CAN_DEBUG_WITHOUT_FP
flag_omit_frame_pointer = 1;
#endif
}
if (optimize >= 2)
......@@ -3024,6 +3027,11 @@ main (argc, argv, envp)
#endif
}
if (optimize >= 3)
{
flag_inline_functions = 1;
}
#ifdef OPTIMIZATION_OPTIONS
/* Allow default optimizations to be specified on a per-machine basis. */
OPTIMIZATION_OPTIONS (optimize);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment