This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: building egcs-1.1 with -fstrict-aliasing



  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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]