mirror of
https://gcc.gnu.org/git/gcc.git
synced 2026-02-22 03:46:53 -05:00
re PR target/31137 (missing "break" in switch for MULT in avr_rtx_costs)
PR target/31137 * config/avr/avr.c (avr_rtx_costs): Add missing 'break' statements. From-SVN: r123438
This commit is contained in:
committed by
Anatoly Sokolov
parent
e25f31fb29
commit
48fb9f06b8
@@ -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 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* Backport from mainline:
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user