Do not allow target_clones with alias attr (PR lto/90500).
authorMartin Liska <mliska@suse.cz>
Thu, 16 May 2019 13:08:48 +0000 (15:08 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Thu, 16 May 2019 13:08:48 +0000 (13:08 +0000)
commita61b003fbd290846feb08b6bf89bc5cf54fd87c3
tree7cdde37690d5fb9388f37c132676bfe08419e29e
parent74a96dd28c997a55344c201baeed409e9e4ce7af
Do not allow target_clones with alias attr (PR lto/90500).

2019-05-16  Martin Liska  <mliska@suse.cz>

PR lto/90500
* multiple_target.c (expand_target_clones): Do not allow
target_clones being used with a symbol that is an alias.
2019-05-16  Martin Liska  <mliska@suse.cz>

PR lto/90500
* gcc.target/i386/pr90500-1.c: New test.
* gcc.target/i386/pr90500-2.c: New test.

From-SVN: r271289
gcc/ChangeLog
gcc/multiple_target.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr90500-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/pr90500-2.c [new file with mode: 0644]