Re: [PATCH] Fix ICE during niter computation (PR tree-optimization/70177)

2016-03-11 Thread Richard Biener
On Fri, 11 Mar 2016, Jakub Jelinek wrote: > Hi! > > On the following testcase we ICE, because we call extract_ops_from_tree > on COND_EXPR, and that inline asserts it doesn't have 3 operands. > derive_constant_upper_bound_ops has a big switch on various tree codes, > but doesn't handle any 3 ar

[PATCH] Fix ICE during niter computation (PR tree-optimization/70177)

2016-03-11 Thread Jakub Jelinek
Hi! On the following testcase we ICE, because we call extract_ops_from_tree on COND_EXPR, and that inline asserts it doesn't have 3 operands. derive_constant_upper_bound_ops has a big switch on various tree codes, but doesn't handle any 3 argument ones right now, so there is no need to pass the