arm.c (arm_new_rtx_costs): Break after handling comparisons.
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>
Fri, 8 Nov 2013 17:36:21 +0000 (17:36 +0000)
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>
Fri, 8 Nov 2013 17:36:21 +0000 (17:36 +0000)
* config/arm/arm.c (arm_new_rtx_costs): Break after handling
comparisons.

From-SVN: r204584

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

index 9ba77db..0b5a94d 100644 (file)
@@ -1,3 +1,8 @@
+2013-11-08  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
+
+       * config/arm/arm.c (arm_new_rtx_costs): Break after handling
+       comparisons.
+
 2013-11-08  Jeff Law  <law@redhat.com>
 
        * tree-ssa-threadupdate.h (delete_thread_path): Declare.
index 7757e86..930bdf6 100644 (file)
@@ -9965,6 +9965,7 @@ arm_new_rtx_costs (rtx x, enum rtx_code code, enum rtx_code outer_code,
          *cost = 0;
          return true;
        }
+      break;
 
     case ABS:
       if (TARGET_HARD_FLOAT && GET_MODE_CLASS (mode) == MODE_FLOAT