2017-02-03 Martin Liska <mliska@suse.cz>
* symtab.c (symtab_node::binds_to_current_def_p): Bail out
in case of a function with ifunc attribute.
From-SVN: r245154
+2017-02-03 Martin Liska <mliska@suse.cz>
+
+ * symtab.c (symtab_node::binds_to_current_def_p): Bail out
+ in case of a function with ifunc attribute.
+
2017-02-03 Martin Liska <mliska@suse.cz>
* cgraph.c (cgraph_node::dump): Dump function version info.
if (transparent_alias)
return definition
&& get_alias_target()->binds_to_current_def_p (ref);
+ if (lookup_attribute ("ifunc", DECL_ATTRIBUTES (decl)))
+ return false;
if (decl_binds_to_current_def_p (decl))
return true;