Re: sched-deps patch: Fix PR54580
On 2012-11-06 12:58, Bernd Schmidt wrote: > * sched-deps.c (find_inc): Add all dependencies from the inc_insn > to the mem_insn. Ok. r~
sched-deps patch: Fix PR54580
If we have i1: [r1 + 24] = x i2: r1 = r1 + 24; i3: y = [r1] then, if not using cselib, we do not generate a dependency between i3 and i1, since we compare memory addresses [r1] and [r1 + 24]. This is somewhat lame, but safe since i2 depends on i1 and i3 depends on i2. However, it breaks with the