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>
* tree-ssa-structalias.c (heapvar_lookup): Fix typo: stmt to from.
......
......@@ -2042,8 +2042,11 @@ assemble_name (FILE *file, const char *name)
id = maybe_get_identifier (real_name);
if (id)
{
tree id_orig = id;
mark_referenced (id);
ultimate_transparent_alias_target (&id);
if (id != id_orig)
name = IDENTIFIER_POINTER (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