This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ipa/61548] [5 Regression] FAIL: gcc.dg/tls/alias-1.c (internal compiler error)
- From: "tbsaunde at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 23 Jan 2015 22:04:49 +0000
- Subject: [Bug ipa/61548] [5 Regression] FAIL: gcc.dg/tls/alias-1.c (internal compiler error)
- Auto-submitted: auto-generated
- References: <bug-61548-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61548
tbsaunde at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tbsaunde at gcc dot gnu.org
--- Comment #12 from tbsaunde at gcc dot gnu.org ---
So, what is here is:
emutls calls varpool_node::create_alias(decl("emutls_v.bar"),
decl("emutls_v.foo")) which sets alias = true and alias_target =
node("emutls_v.foo") on the node for "emutls_v.bar", however it does not set up
ref_list.references on node("emutls_v.bar") to point at node("emutls_v.foo").
Then during varification we call symtab_node::get_alias_target() which gets the
alias from node("emutls_v.bar").ref_list.references but that crashes becauses
references doesn't contain an element for the alias target.