summarylogtreecommitdiffstats
path: root/42-gcc-4.1.2-bug-31137.patch
diff options
context:
space:
mode:
Diffstat (limited to '42-gcc-4.1.2-bug-31137.patch')
-rw-r--r--42-gcc-4.1.2-bug-31137.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/42-gcc-4.1.2-bug-31137.patch b/42-gcc-4.1.2-bug-31137.patch
new file mode 100644
index 000000000000..2bcfcf7c4dfe
--- /dev/null
+++ b/42-gcc-4.1.2-bug-31137.patch
@@ -0,0 +1,18 @@
+--- gcc/config/avr/avr.c.old 2007-03-13 15:19:35.502842800 -0600
++++ gcc/config/avr/avr.c 2007-03-13 15:21:58.968920800 -0600
+@@ -5050,6 +5050,7 @@ avr_rtx_costs (rtx x, int code, int oute
+ *total = COSTS_N_INSNS (AVR_MEGA ? 2 : 1);
+ else
+ return false;
++ break;
+
+ case HImode:
+ if (AVR_ENHANCED)
+@@ -5058,6 +5059,7 @@ avr_rtx_costs (rtx x, int code, int oute
+ *total = COSTS_N_INSNS (AVR_MEGA ? 2 : 1);
+ else
+ return false;
++ break;
+
+ default:
+ return false;