]> gcc.gnu.org Git - gcc.git/commitdiff
* dsp16xx.h : Clean up of macro OPTIMIZATION_OPTIONS
authorCarlo Wood <carlo@runaway.xs4all.nl>
Tue, 7 Jul 1998 23:33:15 +0000 (01:33 +0200)
committerJeff Law <law@gcc.gnu.org>
Tue, 7 Jul 1998 23:33:15 +0000 (17:33 -0600)
From-SVN: r21002

gcc/ChangeLog
gcc/config/dsp16xx/dsp16xx.h

index 72e86f69e7955605efce3d6d7c52fcb395375a38..7a8d2d57dac86cb214e9609642f0a17697c3d14d 100644 (file)
@@ -1,3 +1,7 @@
+Wed Jul  8 00:28:22 1998  Carlo Wood <carlo@runaway.xs4all.nl>
+
+       * dsp16xx.h : Clean up of macro OPTIMIZATION_OPTIONS
+
 Tue Jul  7 21:18:14 1998  Mumit Khan  <khan@xraylith.wisc.edu>
 
        * i386/cygwin32.h (ASM_DECLARE_FUNCTION_NAME): Merge duplicate
index b01db107849b9933df038fd36b4d57b32ef4729e..d63cc80033747b9ae13df947ec3e7adf086bda1a 100644 (file)
@@ -282,35 +282,25 @@ extern int target_flags;
    on a particular target machine.  You can define a macro
    `OVERRIDE_OPTIONS' to take account of this.  This macro, if
    defined, is executed once just after all the command options have
-   been parsed. */
+   been parsed.
+  
+   Don't use this macro to turn on various extra optimizations for
+   `-O'.  That is what `OPTIMIZATION_OPTIONS' is for.  */
 
 #define OVERRIDE_OPTIONS override_options ()
 
-#define OPTIMIZATION_OPTIONS(LEVEL,SIZE)              \
-{                                                     \
-    flag_gnu_linker             = FALSE;              \
-                                                      \
-    if (LEVEL)                                        \
-    {                                                 \
-       flag_omit_frame_pointer = TRUE;               \
-       flag_thread_jumps       = TRUE;               \
-    }                                                 \
-                                                      \
-    if (LEVEL >= 2)                                   \
-    {                                                 \
-        if (! SIZE)                                   \
-         flag_strength_reduce       = TRUE;          \
-       flag_cse_follow_jumps        = TRUE;          \
-       flag_cse_skip_blocks         = TRUE;          \
-       flag_expensive_optimizations = TRUE;          \
-       flag_rerun_cse_after_loop    = TRUE;          \
-    }                                                 \
-                                                      \
-    if ((LEVEL >= 3) && ! SIZE)                       \
-    {                                                 \
-       flag_inline_functions = 1;                     \
-    }                                                 \
-}
+#define OPTIMIZATION_OPTIONS(LEVEL,SIZE)               \
+do                                                     \
+  {                                                    \
+    flag_gnu_linker             = FALSE;               \
+                                                       \
+    if (SIZE)                                          \
+      {                                                        \
+       flag_strength_reduce    = FALSE;                \
+       flag_inline_functions   = FALSE;                \
+      }                                                        \
+  }                                                    \
+while (0)
 \f
 /* STORAGE LAYOUT */
 
This page took 0.070125 seconds and 5 git commands to generate.