re PR target/79633 (ICE in gimple_call_arg, at gimple.h:3163)
authorJakub Jelinek <jakub@redhat.com>
Tue, 21 Feb 2017 17:46:42 +0000 (18:46 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 21 Feb 2017 17:46:42 +0000 (18:46 +0100)
commit956d3e61a029d40846994b99b7b2b12986ccb047
tree239874141f4de1215749f0f4177be528c11520d5
parentd4cbfca47f47194a267f387c473416a62befb93b
re PR target/79633 (ICE in gimple_call_arg, at gimple.h:3163)

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.

From-SVN: r245634
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/mpx/pr79633.c [new file with mode: 0644]
gcc/tree-chkp-opt.c