Re: possible negative patch for gcc/tree-ssa-loop-im.c (or removal of an assert)

2014-07-14 Thread Richard Biener
On Fri, Jul 11, 2014 at 6:41 PM, Gaius Mulley wrote: > > > Hello, > > I've been looking through tree-ssa-loop-im.c (while hunting down a bug > in the modula-2 front end) and found a curiosity in > gcc/tree-ssa-loop-im.c. > > It seems that there is dead code in function determine_max_movement > as

Re: possible negative patch for gcc/tree-ssa-loop-im.c (or removal of an assert)

2014-07-11 Thread Gaius Mulley
Gaius Mulley writes: > Hello, > > I've been looking through tree-ssa-loop-im.c (while hunting down a bug > in the modula-2 front end) and found a curiosity in > gcc/tree-ssa-loop-im.c. > > It seems that there is dead code in function determine_max_movement > as mem_ref_in_stmt can never return NU