Fix removal of ifunc (PR ipa/81214).
authorMartin Liska <mliska@suse.cz>
Fri, 30 Jun 2017 13:51:19 +0000 (15:51 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Fri, 30 Jun 2017 13:51:19 +0000 (13:51 +0000)
commitaaa587d46d4bf67cda5c8b4b41a53eb1b32aed68
tree0cbb040984fd8ae6082e093fb4c9eea8329632b0
parentbd2f172f0b67c88ad3dd6126e8ee6fd4e87b6787
Fix removal of ifunc (PR ipa/81214).

2017-06-30  Martin Liska  <mliska@suse.cz>

PR ipa/81214
* gcc.target/i386/pr81214.c: New test.
2017-06-30  Martin Liska  <mliska@suse.cz>

PR ipa/81214
* multiple_target.c (create_dispatcher_calls): Make ifunc
also for function that don't have calls or are not referenced.

From-SVN: r249840
gcc/ChangeLog
gcc/multiple_target.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr81214.c [new file with mode: 0644]