summaryrefslogtreecommitdiff
path: root/gcc/toplev.c
diff options
context:
space:
mode:
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1993-12-31 11:56:39 +0000
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1993-12-31 11:56:39 +0000
commit027e51e69870ee50d44c4ecf78e4fe7cd9224929 (patch)
treeda2fa7c6b48e0268dcfc60b02e7b23d06fb6add5 /gcc/toplev.c
parent8d5d32821494dcd0f98c6820ab4ae3bb8eb354ff (diff)
downloadgcc-027e51e69870ee50d44c4ecf78e4fe7cd9224929.tar.gz
(main): Turn on -fomit-frame-pointer if it is safe.
Add -O3, which turns on -finline-functions. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6350 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r--gcc/toplev.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c
index 9031fee75ff..51d3abfbdea 100644
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -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);