This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]