[Bug target/32219] optimizer causes wrong code in pic/hidden/weak symbol checking.

mikpe at it dot uu.se gcc-bugzilla@gcc.gnu.org
Sat Sep 1 15:19:00 GMT 2012


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

Mikael Pettersson <mikpe at it dot uu.se> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mikpe at it dot uu.se

--- Comment #14 from Mikael Pettersson <mikpe at it dot uu.se> 2012-09-01 15:17:28 UTC ---
(In reply to comment #13)
> This was (accidentally) fixed on for at least 4.7 ff but without adding a
> testcase like the attached.

Are you sure it's been fixed? The test case segfaults for me on x86_64-linux
when compiled by 4.8-20120826, 4.7-20120825, or 4.6-20120810, with -O1 -m32 and
-fPIC or -fPIE. Without -m32 it doesn't segfault.



More information about the Gcc-bugs mailing list