re PR tree-optimization/70916 (gcc ICE at -O3 on valid code on x86_64-linux-gnu in...
authorJakub Jelinek <jakub@redhat.com>
Tue, 3 May 2016 11:38:38 +0000 (13:38 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 3 May 2016 11:38:38 +0000 (13:38 +0200)
commitdea60b590ccf8968b5b651eddfc25ddf3226c8a1
tree3459d718336d1ebc25505364e09c63567058e8b6
parentadedd5c173388ae505470df152b9cb3947339566
re PR tree-optimization/70916 (gcc ICE at -O3 on valid code on x86_64-linux-gnu in "tree_operand_check")

PR tree-optimization/70916
* tree-vect-patterns.c (vect_recog_mask_conversion_pattern): Give up
if COND_EXPR rhs1 is neither SSA_NAME nor COMPARISON_CLASS_P.

* gcc.c-torture/compile/pr70916.c: New test.

From-SVN: r235814
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr70916.c [new file with mode: 0644]
gcc/tree-vect-patterns.c