------- Comment #10 from jakub at gcc dot gnu dot org 2009-09-16 17:19 ------- And yet another testcase: int foo (int i, int j) { j += i; int i1 = 2 * i; int i2 = 3 * i; asm volatile ("" : "+r" (j) : : "memory"); return j; }
Here the debug_insn arguments are lost during cprop1 pass, no idea why yet. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41353