summarylogtreecommitdiffstats
path: root/46-gcc-4.1.2-bug-30483.patch
diff options
context:
space:
mode:
authorABDULLATIF Mouhamadi2017-05-24 01:24:14 +0200
committerABDULLATIF Mouhamadi2017-05-24 01:24:14 +0200
commitc7319c9a7fbc00c70bb104ab852eb4182ba6e36e (patch)
tree05f2d0142cd2c4b43754b6e026f706a50d28aab4 /46-gcc-4.1.2-bug-30483.patch
downloadaur-gcc-avr-tinyos.tar.gz
first commit
Diffstat (limited to '46-gcc-4.1.2-bug-30483.patch')
-rw-r--r--46-gcc-4.1.2-bug-30483.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/46-gcc-4.1.2-bug-30483.patch b/46-gcc-4.1.2-bug-30483.patch
new file mode 100644
index 00000000000..a41825bb30a
--- /dev/null
+++ b/46-gcc-4.1.2-bug-30483.patch
@@ -0,0 +1,21 @@
+2007-04-14 Anatoly Sokolov <aesok@post.ru>
+
+ PR target/30483
+ * config/avr/avr.c (ptrreg_to_str): Replace gcc_unreachable() with
+ error().
+
+
+Index: gcc/config/avr/avr.c
+===================================================================
+--- gcc/config/avr/avr.c (revision 123920)
++++ gcc/config/avr/avr.c (working copy)
+@@ -1041,7 +1044,7 @@
+ case REG_Y: return "Y";
+ case REG_Z: return "Z";
+ default:
+- gcc_unreachable ();
++ error ("address operand requires constraint for X, Y, or Z register");
+ }
+ return NULL;
+ }
+