Commit c8bbabf2 by Anatoly Sokolov Committed by Anatoly Sokolov

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: r123437
parent 60e656f5
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> 2007-04-02 Dave Korn <dave.korn@artimi.com>
* doc/tm.texi (FUNCTION_MODE): Update and extend documentation. * doc/tm.texi (FUNCTION_MODE): Update and extend documentation.
......
...@@ -4997,6 +4997,7 @@ avr_rtx_costs (rtx x, int code, int outer_code ATTRIBUTE_UNUSED, int *total) ...@@ -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); *total = COSTS_N_INSNS (AVR_MEGA ? 2 : 1);
else else
return false; return false;
break;
case HImode: case HImode:
if (AVR_HAVE_MUL) if (AVR_HAVE_MUL)
...@@ -5005,6 +5006,7 @@ avr_rtx_costs (rtx x, int code, int outer_code ATTRIBUTE_UNUSED, int *total) ...@@ -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); *total = COSTS_N_INSNS (AVR_MEGA ? 2 : 1);
else else
return false; return false;
break;
default: default:
return false; return false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment