PATCH to num_equality_op to work around PR 6950

Neil Booth neil@daikokuya.demon.co.uk
Fri Jun 7 14:05:00 GMT 2002


Jason Merrill wrote:-

> PR 6950 describes a bug in 3.0.4 that causes a miscompilation in cppexp.c.
> This tweak works around the problem.
> 
> Booted and tested i686-pc-linux-gnu; applied trunk and ast-optimizer-branch.
> 
> 2002-06-07  Jason Merrill  <jason@redhat.com>
> 
> 	* cppexp.c (num_equality_op): Use a temporary variable to work
> 	around gcc 3.0.4 bug.

Would you also commit the testcase you posted, just in case the
reason it failed in 3.0.x has been temporarily masked for whatever
reason.

Thanks,

Neil.



More information about the Gcc-patches mailing list