PR target/24778
* varasm.c (assemble_name): Recompute name only for transparent
aliases.
From-SVN: r106749
+2005-11-10 Alexandre Oliva <aoliva@redhat.com>
+
+ PR target/24778
+ * varasm.c (assemble_name): Recompute name only for transparent
+ aliases.
+
2005-11-10 Hans-Peter Nilsson <hp@axis.com>
* tree-ssa-structalias.c (heapvar_lookup): Fix typo: stmt to from.
id = maybe_get_identifier (real_name);
if (id)
{
+ tree id_orig = id;
+
mark_referenced (id);
ultimate_transparent_alias_target (&id);
- name = IDENTIFIER_POINTER (id);
+ if (id != id_orig)
+ name = IDENTIFIER_POINTER (id);
gcc_assert (! TREE_CHAIN (id));
}