Do not warn -Wsuggest-attribute=noreturn for main.chkp (PR middle-end/78339).
authorMartin Liska <mliska@suse.cz>
Mon, 13 Mar 2017 15:30:17 +0000 (16:30 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Mon, 13 Mar 2017 15:30:17 +0000 (15:30 +0000)
commita48018b5dc804de7b8c07197bff56e57269d67a2
tree44de64c4674e5e4ad283a8fc5f6aefa0189dcde9
parent0e5172ebf287a857364a0e8be216e3231258bc49
Do not warn -Wsuggest-attribute=noreturn for main.chkp (PR middle-end/78339).

2017-03-13  Martin Liska  <mliska@suse.cz>

PR middle-end/78339
* ipa-pure-const.c (warn_function_noreturn): If the declarations
is a CHKP clone, use original declaration.
2017-03-13  Martin Liska  <mliska@suse.cz>

PR middle-end/78339
* gcc.target/i386/mpx/pr78339.c: New test.

From-SVN: r246098
gcc/ChangeLog
gcc/ipa-pure-const.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/mpx/pr78339.c [new file with mode: 0644]