aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1992-12-28 06:04:58 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1992-12-28 06:04:58 -0500
commit4a0094c3e9d349376b2282995fd85f53c17b2962 (patch)
tree37d0b745590724306d8033dded81c6da45a6f455 /gcc
parentc60416cd89182ad38d9098234648c5e3e5a9f966 (diff)
downloadgcc-4a0094c3e9d349376b2282995fd85f53c17b2962.zip
gcc-4a0094c3e9d349376b2282995fd85f53c17b2962.tar.gz
gcc-4a0094c3e9d349376b2282995fd85f53c17b2962.tar.bz2
(OPTIMIZATION_OPTIONS): Delete; we don't want to set
-finline-functions for -O3 and this does nothing else useful. From-SVN: r2969
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/i386/osfrose.h18
-rw-r--r--gcc/config/i960/i960.h2
-rw-r--r--gcc/config/mips/mips.h20
3 files changed, 0 insertions, 40 deletions
diff --git a/gcc/config/i386/osfrose.h b/gcc/config/i386/osfrose.h
index 75897e2..3af233c 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 1874cdd..128403f 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 53636b1..2616713 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