building egcs-1.1 with -fstrict-aliasing
Jeffrey A Law
law@cygnus.com
Fri Sep 4 14:17:00 GMT 1998
In message < 199809041921.MAA13562@cygnus.com >you write:
>
> I built both the hpux10.20 and irix64 with BOOT_CFLAGS set to
> '-O2 -fstrict-aliasing'. This provoked a compare failure on
> f/version.o, which appears innocuous.
Where is the difference? You can use objdump to determine if it's
in the symbol table, debug section, text, data, headers, etc.
Very few comparison failures are innocuous.
You might look at alias.c from the mainline sources. Mark has installed
at least one fix in the mainline to fix a bug which cropped up when we
enabled strict-aliasing in the mainline.
jeff
More information about the Gcc-bugs
mailing list