Commit 4a0094c3 by Richard Kenner

(OPTIMIZATION_OPTIONS): Delete; we don't want to set

-finline-functions for -O3 and this does nothing else useful.

From-SVN: r2969
parent c60416cd
......@@ -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
......
......@@ -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. */
......
......@@ -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
......
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