]> git.ipfire.org Git - thirdparty/gcc.git/commit
Do not allow target_clones with alias attr (PR lto/90500).
authormarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 16 May 2019 13:08:48 +0000 (13:08 +0000)
committermarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 16 May 2019 13:08:48 +0000 (13:08 +0000)
commit5f183386bf26a2a961d2db4abd770878ec5c730c
tree7cdde37690d5fb9388f37c132676bfe08419e29e
parent6de981935b3382e270a7f7dfdb69799a8ccc75dd
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@271289 138bc75d-0d04-0410-961f-82ee72b054a4
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]