asm inline

Andreas Schwab schwab at
Tue Dec 3 01:29:47 EST 2002

"Kevin B. Hendricks" <kevin.hendricks at> writes:

|> Hi,
|> I thought strict-aliasing was only turned on at -O3?
|> It was that way in the past.  Did this change for gcc-3.2.X?

Yes, strict aliasing is now the default.

|> There seems to be an enormous amount of code that is not strict-aliasing
|> safe (in the JDK, in, etc).

Well, they have always walked on thin ice...

|> Is there any warning flag that can be enabled to help find these cases (the
|> OOo source base is simply huge)?

gcc 3.3 implements such a warning, but it may give many false positives.


Andreas Schwab, SuSE Labs, schwab at
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

** Sent via the linuxppc-dev mail list. See

More information about the Linuxppc-dev mailing list