From 7e89c3a3fd159ee8ce3ac2923bae6a0011aa4120 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Fri, 31 Dec 1993 06:56:39 -0500 Subject: (main): Turn on -fomit-frame-pointer if it is safe. Add -O3, which turns on -finline-functions. From-SVN: r6350 --- gcc/toplev.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'gcc') diff --git a/gcc/toplev.c b/gcc/toplev.c index 9031fee..51d3abf 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); -- cgit v1.1