https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68337
--- Comment #4 from Ilya Enkovich <ienkovich at gcc dot gnu.org> --- Author: ienkovich Date: Tue Nov 24 15:34:29 2015 New Revision: 230817 URL: https://gcc.gnu.org/viewcvs?rev=230817&root=gcc&view=rev Log: gcc/ Backport from mainline r230796. 2015-11-24 Ilya Enkovich <enkovich....@gmail.com> PR c/68337 * gimple-fold.c: Include ipa-chkp.h. (gimple_fold_builtin_memory_op): Don't fold call if we are going to instrument it and it may copy pointers. gcc/testsuite/ Backport from mainline r230796. 2015-11-24 Ilya Enkovich <enkovich....@gmail.com> PR c/68337 * gcc.target/i386/mpx/pr68337-1.c: New test. * gcc.target/i386/mpx/pr68337-2.c: New test. Added: branches/gcc-5-branch/gcc/testsuite/gcc.target/i386/mpx/pr68337-1.c branches/gcc-5-branch/gcc/testsuite/gcc.target/i386/mpx/pr68337-2.c Modified: branches/gcc-5-branch/gcc/ChangeLog branches/gcc-5-branch/gcc/gimple-fold.c branches/gcc-5-branch/gcc/testsuite/ChangeLog