aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorgjl <>2012-02-29 09:50:19 +0000
committergjl <>2012-02-29 09:50:19 +0000
commit937f9e66ae003abc9ff3e06cb74983730edc7007 (patch)
treea8b1898d9c89c6109895b455cb95e64c53bad392 /gcc
parent17eff14a82efc255a6569efd9dbb86137f391d9f (diff)
PR target/49939
* config/avr/avr.h (ASM_SPEC): Add -mno-skip-bug if we know that the device does not have the skip-bug.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/avr/avr.h4
2 files changed, 9 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index d53ff229059..361c7806236 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2012-02-29 Georg-Johann Lay <avr@gjlay.de>
+
+ PR target/49939
+ * config/avr/avr.h (ASM_SPEC): Add -mno-skip-bug if we know that
+ the device does not have the skip-bug.
+
2012-02-29 Oleg Endo <olegendo@gcc.gnu.org>
* doc/invoke.texi (-msoft-atomic): Add more detailed description.
diff --git a/gcc/config/avr/avr.h b/gcc/config/avr/avr.h
index b051c4b99ee..8488e15dcad 100644
--- a/gcc/config/avr/avr.h
+++ b/gcc/config/avr/avr.h
@@ -595,7 +595,9 @@ extern const char *avr_device_to_devicelib (int argc, const char **argv);
pass to `cc1plus'. */
#define ASM_SPEC "%{mmcu=avr25:-mmcu=avr2;mmcu=avr35:-mmcu=avr3;mmcu=avr31:-mmcu=avr3;mmcu=avr51:-mmcu=avr5;\
-mmcu=*:-mmcu=%*}"
+mmcu=*:-mmcu=%*} \
+%{mmcu=*:%{!mmcu=avr2:%{!mmcu=at90s8515:%{!mmcu=avr31:%{!mmcu=atmega103:\
+-mno-skip-bug}}}}}"
#define LINK_SPEC "\
%{mrelax:--relax\