Re: [PATCH] Avoid ICE in tree-vect-patterns.c (PR tree-optimization/70916)

2016-05-03 Thread Richard Biener
On Tue, 3 May 2016, Jakub Jelinek wrote: > Hi! > > We ICE on the following testcase. There are multiple issues, this patch > fixes just the ICE part; INTEGER_CST rhs1 is completely valid on COND_EXPR, > though of course a sign of missed optimization earlier; so we don't need > to spend too much

[PATCH] Avoid ICE in tree-vect-patterns.c (PR tree-optimization/70916)

2016-05-03 Thread Jakub Jelinek
Hi! We ICE on the following testcase. There are multiple issues, this patch fixes just the ICE part; INTEGER_CST rhs1 is completely valid on COND_EXPR, though of course a sign of missed optimization earlier; so we don't need to spend too much time on it, but shouldn't ICE. Bootstrapped/regtested