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]

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


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>


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