From: Richard Kenner Date: Mon, 28 Dec 1992 11:04:58 +0000 (-0500) Subject: (OPTIMIZATION_OPTIONS): Delete; we don't want to set X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4a0094c3e9d349376b2282995fd85f53c17b2962;p=gcc.git (OPTIMIZATION_OPTIONS): Delete; we don't want to set -finline-functions for -O3 and this does nothing else useful. From-SVN: r2969 --- diff --git a/gcc/config/i386/osfrose.h b/gcc/config/i386/osfrose.h index 75897e22d89..3af233c16b3 100644 --- a/gcc/config/i386/osfrose.h +++ b/gcc/config/i386/osfrose.h @@ -128,24 +128,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #undef FUNCTION_PROFILER #define FUNCTION_PROFILER(FILE, LABELNO) fprintf (FILE, "\tcall _mcount\n") -/* Some machines may desire to change what optimizations are - performed for various optimization levels. This macro, if - defined, is executed once just after the optimization level is - determined and before the remainder of the command options have - been parsed. Values set in this macro are used as the default - values for the other command line options. - - LEVEL is the optimization level specified; 2 if -O2 is - specified, 1 if -O is specified, and 0 if neither is specified. */ - -#define OPTIMIZATION_OPTIONS(LEVEL) \ -{ \ - flag_gnu_linker = FALSE; \ - \ - if (LEVEL >= 3) \ - flag_inline_functions = TRUE; \ -} - /* A C expression that is 1 if the RTX X is a constant which is a valid address. On most machines, this can be defined as `CONSTANT_P (X)', but a few machines are more restrictive in diff --git a/gcc/config/i960/i960.h b/gcc/config/i960/i960.h index 1874cdd8b64..128403fcd25 100644 --- a/gcc/config/i960/i960.h +++ b/gcc/config/i960/i960.h @@ -93,8 +93,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ target_flags |= TARGET_FLAG_LEAFPROC; \ target_flags |= TARGET_FLAG_TAILCALL; \ } \ - if ((LEVEL) >= 3) \ - flag_inline_functions = 1; \ } /* Print subsidiary information on the compiler version in use. */ diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h index 53636b1e74a..26167134e3e 100644 --- a/gcc/config/mips/mips.h +++ b/gcc/config/mips/mips.h @@ -299,32 +299,12 @@ while (0) #define OPTIMIZATION_OPTIONS(LEVEL) \ { \ - flag_no_function_cse = TRUE; \ - flag_gnu_linker = FALSE; \ - \ if (LEVEL) \ { \ flag_omit_frame_pointer = TRUE; \ - flag_delayed_branch = TRUE; \ - flag_thread_jumps = TRUE; \ flag_schedule_insns_after_reload = TRUE; \ - } \ - \ - if (LEVEL >= 2) \ - { \ - flag_strength_reduce = TRUE; \ - flag_cse_follow_jumps = TRUE; \ - flag_expensive_optimizations = TRUE; \ - flag_rerun_cse_after_loop = TRUE; \ - flag_schedule_insns = TRUE; \ - } \ - \ - if (LEVEL >= 3) \ - { \ - flag_inline_functions = TRUE; \ } \ } - /* Complain about missing specs and predefines that should be defined in each