------- Comment #6 from jakub at gcc dot gnu dot org 2010-02-18 19:49 ------- I doubt http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43077#c4 applies cleanly to the current tree, as http://gcc.gnu.org/viewcvs?view=revision&revision=156693 changed the same spot as the second hunk. Will need to see why eliminate_regs_in_insn doesn't eliminate those.
Regarding a/b/c on the a = foo (&b, &c) line, it is true that the breakpoint on that line might be on some insn that is scheduled earlier than b = 0 resp. c = 0 store. Perhaps we could have a DEBUG_INSN very early at the spot where the variable appear in the scope that would tell the value is 0, but I guess that should be handled separately from that, so I'll nuke that from the testcase for now. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43077