re PR tree-optimization/89570 (ICE in prepare_cmp_insn, at optabs.c:4001)
authorJakub Jelinek <jakub@redhat.com>
Tue, 5 Mar 2019 08:44:21 +0000 (09:44 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 5 Mar 2019 08:44:21 +0000 (09:44 +0100)
commitea5212b741b5cc751d0d8271a9666c4ad0b4e799
tree9cd2d36ebc4d1b17e4ad39f8fc141105320ca083
parentd6f7829a1fa2577bac1bd8815acd31730affcb92
re PR tree-optimization/89570 (ICE in prepare_cmp_insn, at optabs.c:4001)

PR tree-optimization/89570
* match.pd (vec_cond into cond_op simplification): Guard with
vectorized_internal_fn_supported_p test and #if GIMPLE.

* gcc.dg/pr89570.c: New test.

From-SVN: r269385
gcc/ChangeLog
gcc/match.pd
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr89570.c [new file with mode: 0644]