This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: building egcs-1.1 with -fstrict-aliasing
- To: tprince at cat dot e-mail dot com
- Subject: Re: building egcs-1.1 with -fstrict-aliasing
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Fri, 04 Sep 1998 15:16:30 -0600
- cc: egcs-bugs at cygnus dot com
- Reply-To: law at cygnus dot com
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