cgraph: ifunc resolvers cannot be made local (PR 92697)
authorMartin Jambor <mjambor@suse.cz>
Thu, 28 Nov 2019 15:39:48 +0000 (16:39 +0100)
committerMartin Jambor <jamborm@gcc.gnu.org>
Thu, 28 Nov 2019 15:39:48 +0000 (16:39 +0100)
commit2dfd63ded836e993c3693da957142b0228c61607
treecd9141bc7986db875bf61ac841ff0f056253111b
parente01857197b5fbd660903fe8c0b4c6387780afe10
cgraph: ifunc resolvers cannot be made local (PR 92697)

2019-11-28  Martin Jambor  <mjambor@suse.cz>

PR ipa/92697
* cgraph.c (cgraph_node_cannot_be_local_p_1): Return true for
ifunc_resolvers.
* symtab.c (symtab_node::dump_base): Dump ifunc_resolver flag.
Removed trailig whitespace.

testsuite/
* g++.dg/ipa/pr92697.C: New.

From-SVN: r278812
gcc/ChangeLog
gcc/cgraph.c
gcc/symtab.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ipa/pr92697.C [new file with mode: 0644]