https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66567
--- Comment #2 from Ilya Enkovich <ienkovich at gcc dot gnu.org> --- Author: ienkovich Date: Thu Jul 23 10:34:48 2015 New Revision: 226100 URL: https://gcc.gnu.org/viewcvs?rev=226100&root=gcc&view=rev Log: gcc/ Backport from mainline r224600. 2015-06-18 Ilya Enkovich <enkovich....@gmail.com> PR middle-end/66567 * ipa-chkp.c (chkp_maybe_create_clone): Require functions to be instrumentable. * tree-chkp.c (chkp_replace_function_pointer): Use chkp_instrumentable_p instead of attribute check. gcc/testsuite/ Backport from mainline r224600. 2015-06-18 Ilya Enkovich <enkovich....@gmail.com> PR middle-end/66567 * gcc.target/i386/mpx/pr66567.c: New test. Added: branches/gcc-5-branch/gcc/testsuite/gcc.target/i386/mpx/pr66567.c Modified: branches/gcc-5-branch/gcc/ChangeLog branches/gcc-5-branch/gcc/ipa-chkp.c branches/gcc-5-branch/gcc/testsuite/ChangeLog branches/gcc-5-branch/gcc/tree-chkp.c