This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix error message in gcc.dg/noncompile/20001228-1.c
- From: Geoff Keating <geoffk at geoffk dot org>
- To: Bonzini <bonzini at gnu dot org>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: 03 Feb 2004 15:44:14 -0800
- Subject: Re: Fix error message in gcc.dg/noncompile/20001228-1.c
- References: <E1AoA1j-0005zd-60@fencepost.gnu.org>
Bonzini <bonzini@gnu.org> writes:
> 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.
This is OK, I (will) have committed it.
> 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" } */
> ;
> }
>
--
- Geoffrey Keating <geoffk@geoffk.org>