> I'm sure I'm missing something, but if that comes from real code, then > how is it going to simplify? Not sure if this can be real code, but one can imagine a slew of (set (mem (plus (reg) (const_int n))) (const_int n+1)) intertwined and everything will fold once we reach the end, no? -- Eric Botcazou