diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6d334595b277..2c47dbbde414 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2007-04-02 Anatoly Sokolov + + PR target/31137 + * config/avr/avr.c (avr_rtx_costs): Add missing 'break' statements. + 2007-04-02 H.J. Lu * Backport from mainline: diff --git a/gcc/config/avr/avr.c b/gcc/config/avr/avr.c index 839e3546c801..b6332260fce4 100644 --- a/gcc/config/avr/avr.c +++ b/gcc/config/avr/avr.c @@ -5094,6 +5094,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_ENHANCED) @@ -5102,6 +5103,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;