[Bug c/40216] Optimization error when compiling bfd/ecofflink.c on x86_64

schwab at linux-m68k dot org gcc-bugzilla@gcc.gnu.org
Thu May 21 09:00:00 GMT 2009



------- Comment #2 from schwab at linux-m68k dot org  2009-05-21 09:00 -------
This is violating the C strict aliasing rule:

      if (! ecoff_add_bytes ((char **) &debug->external_ext,
        (char **) &debug->external_ext_end,
        (symhdr->iextMax + 1) * (size_t) external_ext_size))

which has already been fixed in binutils more than 3 years ago.


-- 

schwab at linux-m68k dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40216



More information about the Gcc-bugs mailing list