summarylogtreecommitdiffstats
path: root/46-gcc-4.1.2-bug-30483.patch
blob: a41825bb30ac0682af45a06747b87474cd6d7efc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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;
 }