This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Fix error message in gcc.dg/noncompile/20001228-1.c
- From: Bonzini <bonzini at gnu dot org>
- To: gcc-patches at gcc dot gnu dot org
- Date: Tue, 03 Feb 2004 18:32:19 -0500
- Subject: 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" } */
;
}