Commit 10daf677 by Alan Modra Committed by Alan Modra

re PR middle-end/29943 (gcc generate incorrect alias symbols for PPC)

	PR target/29943
	* varasm.c (use_blocks_for_decl_p): Return false for decls with
	alias attribute.

From-SVN: r122148
parent 426b8764
2007-02-20 Alan Modra <amodra@bigpond.net.au>
PR target/29943
* varasm.c (use_blocks_for_decl_p): Return false for decls with
alias attribute.
2007-02-19 Kazu Hirata <kazu@codesourcery.com>
* doc/invoke.texi (-ftree-lrs): Remove.
......
......@@ -1218,6 +1218,10 @@ use_blocks_for_decl_p (tree decl)
if (DECL_INITIAL (decl) == decl)
return false;
/* If this decl is an alias, then we don't want to emit a definition. */
if (lookup_attribute ("alias", DECL_ATTRIBUTES (decl)))
return false;
return true;
}
......
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