From 7ca9ca86bd43ab86cb023c1a7cf1dc465b2e2c25 Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Thu, 17 Oct 2019 07:39:37 +0000 Subject: [PATCH] re PR tree-optimization/92129 (ICE in vectorizable_reduction, at tree-vect-loop.c:5869) 2019-10-17 Richard Biener PR tree-optimization/92129 * tree-vect-loop.c (vectorizable_reduction): Also fail on GIMPLE_SINGLE_RHS. From-SVN: r277094 --- gcc/ChangeLog | 6 ++++++ gcc/tree-vect-loop.c | 1 + 2 files changed, 7 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0dd5d8ca839..607b94df5f4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2019-10-17 Richard Biener + + PR tree-optimization/92129 + * tree-vect-loop.c (vectorizable_reduction): Also fail + on GIMPLE_SINGLE_RHS. + 2019-10-17 Jakub Jelinek PR tree-optimization/92056 diff --git a/gcc/tree-vect-loop.c b/gcc/tree-vect-loop.c index 0530d6643b4..d2ddc669176 100644 --- a/gcc/tree-vect-loop.c +++ b/gcc/tree-vect-loop.c @@ -5772,6 +5772,7 @@ vectorizable_reduction (stmt_vec_info stmt_info, slp_tree slp_node, break; case GIMPLE_UNARY_RHS: + case GIMPLE_SINGLE_RHS: return false; default: -- 2.30.2