https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68337
--- Comment #3 from Ilya Enkovich <ienkovich at gcc dot gnu.org> --- Author: ienkovich Date: Tue Nov 24 09:45:20 2015 New Revision: 230796 URL: https://gcc.gnu.org/viewcvs?rev=230796&root=gcc&view=rev Log: gcc/ 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/ PR c/68337 * gcc.target/i386/mpx/pr68337-1.c: New test. * gcc.target/i386/mpx/pr68337-2.c: New test. Added: trunk/gcc/testsuite/gcc.target/i386/mpx/pr68337-1.c trunk/gcc/testsuite/gcc.target/i386/mpx/pr68337-2.c Modified: trunk/gcc/ChangeLog trunk/gcc/gimple-fold.c trunk/gcc/testsuite/ChangeLog