(OPTIMIZATION_OPTIONS): Delete; we don't want to set
authorRichard Kenner <kenner@gcc.gnu.org>
Mon, 28 Dec 1992 11:04:58 +0000 (06:04 -0500)
committerRichard Kenner <kenner@gcc.gnu.org>
Mon, 28 Dec 1992 11:04:58 +0000 (06:04 -0500)
-finline-functions for -O3 and this does nothing else useful.

From-SVN: r2969

gcc/config/i386/osfrose.h
gcc/config/i960/i960.h
gcc/config/mips/mips.h

index 75897e22d89bc09f953f39410071e24f6bfbebc9..3af233c16b3b146cd01447f5fbbf4dca1c10cfe4 100644 (file)
@@ -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
index 1874cdd8b6473f6dd6d9b687cb4b2a86af0f452f..128403fcd25190ef026b77b075604b7b36cd4560 100644 (file)
@@ -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.  */
index 53636b1e74a8966bedb4b2a7ecb1c6679ea797c7..26167134e3e71681fd752cfed2d2634e6e6b4da3 100644 (file)
@@ -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;                         \
     }                                                                  \
 }
-
 \f
 
 /* Complain about missing specs and predefines that should be defined in each