Optimizer Bug with gcc-2.95 on Solaris-(2.6|7)
Martin v. Loewis
martin@loewis.home.cs.tu-berlin.de
Wed Mar 15 01:22:00 GMT 2000
> The following code was found in a Linux Usenet-group, but it turned out,
> that gcc-2.95 on Solaris-2.6 and
> Solaris-7 shows the same behaviour.
> CFLAGS="" and CFLAGS="-O3" produce correct results,
> CFLAGS="-O" or CFLAGS="-O2" produce false results.
Thanks for your bug report. gcc-2.95.2 seems to correct this problem.
Regards,
Martin
More information about the Gcc-bugs
mailing list