> cse_insn() calls lookup_as_function() ultimately through fold_rtx(), IIRC, > and is the routine that writes the REG_EQUAL note.
OK, thanks. But I'm a little at a loss as to why this problem arises only now: the problematic code in lookup_as_function is one decade old. Do you happen to have older compilers around (say GCC 4.1.x based) that correctly compile the testcase? If so, what happens differently with them? -- Eric Botcazou