Commit a114b455 by Alexandre Oliva Committed by Alexandre Oliva

re PR target/24778 (Assembler errors during bootstrap)

PR target/24778
* varasm.c (assemble_name): Recompute name only for transparent
aliases.

From-SVN: r106749
parent f5d7990b
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> 2005-11-10 Hans-Peter Nilsson <hp@axis.com>
* tree-ssa-structalias.c (heapvar_lookup): Fix typo: stmt to from. * tree-ssa-structalias.c (heapvar_lookup): Fix typo: stmt to from.
......
...@@ -2042,9 +2042,12 @@ assemble_name (FILE *file, const char *name) ...@@ -2042,9 +2042,12 @@ assemble_name (FILE *file, const char *name)
id = maybe_get_identifier (real_name); id = maybe_get_identifier (real_name);
if (id) if (id)
{ {
tree id_orig = id;
mark_referenced (id); mark_referenced (id);
ultimate_transparent_alias_target (&id); ultimate_transparent_alias_target (&id);
name = IDENTIFIER_POINTER (id); if (id != id_orig)
name = IDENTIFIER_POINTER (id);
gcc_assert (! TREE_CHAIN (id)); gcc_assert (! TREE_CHAIN (id));
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment