This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/49316] ICE in in function_and_variable_visibility, at ipa.c:926 with g++.dg/tls/diag-1.C
- From: "greed at pobox dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 26 Oct 2011 15:36:40 +0000
- Subject: [Bug tree-optimization/49316] ICE in in function_and_variable_visibility, at ipa.c:926 with g++.dg/tls/diag-1.C
- Auto-submitted: auto-generated
- References: <bug-49316-4@http.gcc.gnu.org/bugzilla/>
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.