gcc 4.0.0 on amd64: problem with -O2?

Harald Dunkel harald.dunkel@t-online.de
Sat May 7 19:25:00 GMT 2005


Andrew Pinski wrote:
>
> Stop right there, you said it warns, well this is a case where
> you are violating C89/C99/C++ aliasing rules so it is a bug in your
> code and not in GCC.
>

This is not my code. It is XFree86 4.3. I am just trying to
help by investigating a problem and providing an easy testcase.

If you read my report, then you will recognize that it is
a problem of the optimizer.


Regards

Harri
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20050507/e60da661/attachment.sig>


More information about the Gcc-bugs mailing list