re PR target/31137 (missing "break" in switch for MULT in avr_rtx_costs)
authorAnatoly Sokolov <aesok@post.ru>
Mon, 2 Apr 2007 21:43:53 +0000 (01:43 +0400)
committerAnatoly Sokolov <aesok@gcc.gnu.org>
Mon, 2 Apr 2007 21:43:53 +0000 (01:43 +0400)
PR target/31137
* config/avr/avr.c (avr_rtx_costs): Add missing 'break' statements.

From-SVN: r123437

gcc/ChangeLog
gcc/config/avr/avr.c

index 9fbca6cd5d87867315635983adc9538912f1f8f6..f565da52792b8d1e6fb0a5cb2d8bec5c47998ef8 100644 (file)
@@ -1,3 +1,8 @@
+2007-04-02  Anatoly Sokolov <aesok@post.ru>
+
+       PR target/31137
+       * config/avr/avr.c (avr_rtx_costs): Add missing 'break' statements.
+
 2007-04-02  Dave Korn  <dave.korn@artimi.com>
 
        * doc/tm.texi (FUNCTION_MODE): Update and extend documentation.
index 6be936be9a7beff544104e70aa62d58007806feb..226ab0f2d07405288c1eb0ee6a0b2dcdb07cfca8 100644 (file)
@@ -4997,6 +4997,7 @@ avr_rtx_costs (rtx x, int code, int outer_code ATTRIBUTE_UNUSED, int *total)
            *total = COSTS_N_INSNS (AVR_MEGA ? 2 : 1);
          else
            return false;
+         break;
 
        case HImode:
          if (AVR_HAVE_MUL)
@@ -5005,6 +5006,7 @@ avr_rtx_costs (rtx x, int code, int outer_code ATTRIBUTE_UNUSED, int *total)
            *total = COSTS_N_INSNS (AVR_MEGA ? 2 : 1);
          else
            return false;
+         break;
 
        default:
          return false;