arm.c (arm_override_options): Enable scheduling for Thumb-2.
authorDaniel Jacobowitz <dan@codesourcery.com>
Wed, 11 Nov 2009 14:21:40 +0000 (14:21 +0000)
committerDaniel Jacobowitz <drow@gcc.gnu.org>
Wed, 11 Nov 2009 14:21:40 +0000 (14:21 +0000)
* config/arm/arm.c (arm_override_options): Enable scheduling for
Thumb-2.

From-SVN: r154092

gcc/ChangeLog
gcc/config/arm/arm.c

index e22b3f9..2af043f 100644 (file)
@@ -1,3 +1,8 @@
+2009-11-11  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * config/arm/arm.c (arm_override_options): Enable scheduling for
+       Thumb-2.
+
 2009-11-10  Eric Botcazou  <ebotcazou@adacore.com>
 
        PR target/10127
index 205bff2..fc0c559 100644 (file)
@@ -1813,8 +1813,7 @@ arm_override_options (void)
        fix_cm3_ldrd = 0;
     }
 
-  /* ??? We might want scheduling for thumb2.  */
-  if (TARGET_THUMB && flag_schedule_insns)
+  if (TARGET_THUMB1 && flag_schedule_insns)
     {
       /* Don't warn since it's on by default in -O2.  */
       flag_schedule_insns = 0;