summarylogtreecommitdiffstats
path: root/45-gcc-4.1.2-bug-18989.patch
diff options
context:
space:
mode:
Diffstat (limited to '45-gcc-4.1.2-bug-18989.patch')
-rw-r--r--45-gcc-4.1.2-bug-18989.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/45-gcc-4.1.2-bug-18989.patch b/45-gcc-4.1.2-bug-18989.patch
new file mode 100644
index 00000000000..698b362a04d
--- /dev/null
+++ b/45-gcc-4.1.2-bug-18989.patch
@@ -0,0 +1,15 @@
+--- gcc/config/avr/avr.h 2007/04/25 18:45:39 124161
++++ gcc/config/avr/avr.h 2007/04/25 18:52:21 124162
+@@ -690,7 +690,11 @@
+ #define ASM_OUTPUT_SKIP(STREAM, N) \
+ fprintf (STREAM, "\t.skip %lu,0\n", (unsigned long)(N))
+
+-#define ASM_OUTPUT_ALIGN(STREAM, POWER)
++#define ASM_OUTPUT_ALIGN(STREAM, POWER) \
++ do { \
++ if ((POWER) > 1) \
++ fprintf (STREAM, "\t.p2align\t%d\n", POWER); \
++ } while (0)
+
+ #define CASE_VECTOR_MODE HImode
+