Possible bug in optimization

Neil Booth neil@daikokuya.co.uk
Tue Feb 18 21:17:00 GMT 2003


Chris Croswhite wrote:-

> OKAY, what rule am I not adhearing to/have broken?  Is there an alternate
> solution to this?

The way to do it is to put your incompatible types in a union, and
access them through that.  Then you don't need casts, and the compiler
does the right thing.

Neil.



More information about the Gcc-bugs mailing list