Re: asm inline
From: Andreas Schwab <hidden>
Date: 2002-12-02 14:29:47
"Kevin B. Hendricks" [off-list ref] 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 OpenOffice.org, 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. -- Andreas Schwab, SuSE Labs, schwab@suse.de 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 http://lists.linuxppc.org/