Re: [PATCH] remove incorrect assert

2017-06-06 Thread Richard Biener
On Mon, Jun 5, 2017 at 1:14 PM, Gaius Mulley wrote: > > Hi, > > here is a tiny patch which removes an assert which I believe is wrong. > I think it is an anomaly as the only callee (determine_max_movement at > gcc/tree-ssa-loop-im.c:749) tests the asserted result against NULL. (If > the assert re

[PATCH] remove incorrect assert

2017-06-05 Thread Gaius Mulley
Hi, here is a tiny patch which removes an assert which I believe is wrong. I think it is an anomaly as the only callee (determine_max_movement at gcc/tree-ssa-loop-im.c:749) tests the asserted result against NULL. (If the assert really were correct then the else statement is redundant (dead code