------- Comment #2 from aoliva at gcc dot gnu dot org 2010-06-02 06:43 ------- My mid-term vision to address this sort of problem does not involve adding more debug bind insns (I don't quite see how to get them right), but rather emit a new kind of debug stmt/insn so as to emit is_stmt notes in lineno, so we can set breakpoints at the right spot for line 19, rather than at the moved-ahead insns, avoiding all the bouncing back-and-forth when stepping in optimized programs. I ought to go ahead and implement this one of these days.
-- aoliva at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |aoliva at gcc dot gnu dot |dot org |org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43119