gcc 3.0.4 miscompiles cppexp.c (was Re: Mainline fails to build)

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


Jason Merrill wrote:-

> gcc 3.1 does not have this bug; neither do 2.95 or Red Hat 2.96.  Using a
> temporary variable to store the result of num_eq works around the bug; I'll
> check in such a patch soon.

Please add a comment explaining the reason for the local variable.
Thanks!

Neil.



More information about the Gcc mailing list