This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/78339] -fsuggest-attribute=noreturn should not warn on -fcheck-pointer-bounds clones
- From: "marxin at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 22 Mar 2017 12:31:36 +0000
- Subject: [Bug middle-end/78339] -fsuggest-attribute=noreturn should not warn on -fcheck-pointer-bounds clones
- Auto-submitted: auto-generated
- References: <bug-78339-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78339
--- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Wed Mar 22 12:31:04 2017
New Revision: 246374
URL: https://gcc.gnu.org/viewcvs?rev=246374&root=gcc&view=rev
Log:
Backport r246098
2017-03-22 Martin Liska <mliska@suse.cz>
Backport from mainline
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-22 Martin Liska <mliska@suse.cz>
Backport from mainline
2017-03-13 Martin Liska <mliska@suse.cz>
PR middle-end/78339
* gcc.target/i386/mpx/pr78339.c: New test.
Added:
branches/gcc-5-branch/gcc/testsuite/gcc.target/i386/mpx/pr78339.c
Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/ipa-pure-const.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog