[Bug lto/61969] [4.8/4.9/4.10 Regression] wrong code by LTO on i?86-linux-gnu (affecting trunk, 4.9.x, and 4.8.x)

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jul 31 10:35:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61969

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |i?86-*-*
   Target Milestone|---                         |4.8.4
            Summary|wrong code by LTO on        |[4.8/4.9/4.10 Regression]
                   |x86_64-linux-gnu (affecting |wrong code by LTO on
                   |trunk, 4.9.x, and 4.8.x)    |i?86-linux-gnu (affecting
                   |                            |trunk, 4.9.x, and 4.8.x)

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
You mean in 32bit mode.  I can't reproduce it with trunk or 4.9 but only
with 4.8:

rguenther@murzim:/tmp> ./compile.sh gcc-4.8 32 1
rguenther@murzim:/tmp> ./t
2052

maybe it's sensitive to the linker used?  it works with both GNU ld and gold
for me with 4.9 and trunk.



More information about the Gcc-bugs mailing list