]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
i386.c: (override_options): Move initialisation from flag_schedule_insns_after_reload...
authorMichael Matz <matz@suse.de>
Mon, 11 Aug 2008 12:15:37 +0000 (12:15 +0000)
committerMichael Matz <matz@gcc.gnu.org>
Mon, 11 Aug 2008 12:15:37 +0000 (12:15 +0000)
        * i386/i386.c: (override_options): Move initialisation from
        flag_schedule_insns_after_reload to here from ...
        (optimization_options): ... here.

From-SVN: r138953

gcc/ChangeLog
gcc/config/i386/i386.c

index 194937e88ead5d24a6881c0cfa9b548ad651e917..7f1ce9eead9c2f933084b485193e95366037c9f2 100644 (file)
@@ -1,3 +1,9 @@
+2008-08-11  Michael Matz  <matz@suse.de>
+
+       * i386/i386.c (override_options): Move initialisation from
+       flag_schedule_insns_after_reload to here from ...
+       (optimization_options): ... here.
+
 2008-08-11  Jakub Jelinek  <jakub@redhat.com>
 
        PR rtl-optimization/36998
index 206ee418c5d9c0a1eeefef1ac6e72132cfb66abb..8da85e16e5c455b1554f73f433a22ba82868e418 100644 (file)
@@ -3173,6 +3173,11 @@ override_options (bool main_args_p)
     *p = '\0';
   }
 
+  /* When scheduling description is not available, disable scheduler pass
+     so it won't slow down the compilation and make x87 code slower.  */
+  if (!TARGET_SCHEDULE)
+    flag_schedule_insns_after_reload = flag_schedule_insns = 0;
+
   if (!PARAM_SET_P (PARAM_SIMULTANEOUS_PREFETCHES))
     set_param_value ("simultaneous-prefetches",
                     ix86_cost->simultaneous_prefetches);
@@ -3942,11 +3947,6 @@ optimization_options (int level, int size ATTRIBUTE_UNUSED)
     flag_schedule_insns = 0;
 #endif
 
-  /* When scheduling description is not available, disable scheduler pass
-     so it won't slow down the compilation and make x87 code slower.  */
-  if (!TARGET_SCHEDULE)
-    flag_schedule_insns_after_reload = flag_schedule_insns = 0;
-
   if (TARGET_MACHO)
     /* The Darwin libraries never set errno, so we might as well
        avoid calling them when that's the only reason we would.  */