https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79633
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Tue Feb 21 17:46:42 2017 New Revision: 245634 URL: https://gcc.gnu.org/viewcvs?rev=245634&root=gcc&view=rev Log: PR target/79633 * tree-chkp-opt.c (chkp_optimize_string_function_calls): Use is_gimple_call instead of comparing gimple_code with GIMPLE_CALL. Use gimple_call_builtin_p. * gcc.target/i386/mpx/pr79633.c: New test. Added: trunk/gcc/testsuite/gcc.target/i386/mpx/pr79633.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-chkp-opt.c