https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66567
--- Comment #1 from Ilya Enkovich <ienkovich at gcc dot gnu.org> --- Author: ienkovich Date: Thu Jun 18 10:09:22 2015 New Revision: 224600 URL: https://gcc.gnu.org/viewcvs?rev=224600&root=gcc&view=rev Log: gcc/ 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/ PR middle-end/66567 * gcc.target/i386/mpx/pr66567.c: New test. Added: trunk/gcc/testsuite/gcc.target/i386/mpx/pr66567.c Modified: trunk/gcc/ChangeLog trunk/gcc/ipa-chkp.c trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-chkp.c