summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authoraesok <aesok@138bc75d-0d04-0410-961f-82ee72b054a4>2007-04-02 21:43:53 +0000
committeraesok <aesok@138bc75d-0d04-0410-961f-82ee72b054a4>2007-04-02 21:43:53 +0000
commitba92127f798c3b172402aa216e316c8ec1b276c5 (patch)
tree6dd21af7ef7613a6b7e0322a642fe8ebbdedee97 /gcc
parent594ea66680fae4a86cdc3d6ec395a0db210f679b (diff)
downloadgcc-ba92127f798c3b172402aa216e316c8ec1b276c5.tar.gz
PR target/31137
* config/avr/avr.c (avr_rtx_costs): Add missing 'break' statements. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123437 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/avr/avr.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 9fbca6cd5d8..f565da52792 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/config/avr/avr.c b/gcc/config/avr/avr.c
index 6be936be9a7..226ab0f2d07 100644
--- a/gcc/config/avr/avr.c
+++ b/gcc/config/avr/avr.c
@@ -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;