[Bug tree-optimization/49316] ICE in in function_and_variable_visibility, at ipa.c:926 with g++.dg/tls/diag-1.C

greed at pobox dot com gcc-bugzilla@gcc.gnu.org
Wed Oct 26 15:37:00 GMT 2011


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

--- Comment #4 from Graham Reed <greed at pobox dot com> 2011-10-26 15:36:40 UTC ---
Created attachment 25617
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25617
KLUDGE/workaround for ICE

I worked around the ICE on AIX with this patch.  THIS IS A WORKAROUND ONLY--I
do not know the code anywhere near well enough to believe this is a correct
fix.

It changes tree-emutls.c so that a weak symbol remains public, which then lets
it go through the assert in ipa.c.



More information about the Gcc-bugs mailing list