This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Fix error message in gcc.dg/noncompile/20001228-1.c


I forgot to mail Paolo this change that was in my tree, and the
regression checker promptly bit me.

Sorry for the inconvenience, I hope it will be better when I'll
be able to access CVS myself.

Paolo Bonzini


2004-02-04  Paolo Bonzini  <bonzini@gnu.org>

	* gcc.dg/noncompile/20001228-1.c: Fix for new
	error message.

--- 20001228-1.c.old	2004-02-04 00:29:57.000000000 +0100
+++ 20001228-1.c	2004-02-04 00:30:12.000000000 +0100
@@ -1,6 +1,6 @@
 void rof(void)
 {
   union { int a; } u;
-  for (u.a = 0; u; u.a++)  /* { dg-error "invalid operand" } */
+  for (u.a = 0; u; u.a++)  /* { dg-error "used union" } */
     ;
 }


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]