[Bug middle-end/78339] -fsuggest-attribute=noreturn should not warn on -fcheck-pointer-bounds clones

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Mar 22 12:32:00 GMT 2017


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


More information about the Gcc-bugs mailing list