PR ipa/61886
* symtab.c (symtab_node::verify_base): Fix thinko in a conditional.
(symtab_node::noninterposable_alias): Do not accept transparent
aliases.
From-SVN: r231427
+2015-12-08 Jan Hubicka <hubicka@ucw.cz>
+
+ PR ipa/61886
+ * symtab.c (symtab_node::verify_base): Fix thinko in a conditional.
+ (symtab_node::noninterposable_alias): Do not accept transparent
+ aliases.
+
2015-12-08 Nathan Sidwell <nathan@acm.org>
* config/nvptx/nvptx.c (decl_chunk_size, decl_chunk_mode,
}
if (!hashed_node
&& !(is_a <varpool_node *> (this)
- || DECL_HARD_REGISTER (decl)))
+ && DECL_HARD_REGISTER (decl)))
{
error ("node not found in symtab assembler name hash");
error_found = true;
bool
symtab_node::noninterposable_alias (symtab_node *node, void *data)
{
- if (decl_binds_to_current_def_p (node->decl))
+ if (!node->transparent_alias && decl_binds_to_current_def_p (node->decl))
{
symtab_node *fn = node->ultimate_alias_target ();