------- Comment #6 from aoliva at gcc dot gnu dot org 2010-04-29 07:52 ------- Created an attachment (id=20513) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20513&action=view) Patch that implements the idea, but does not improve debug info for this testcase
Alas, the idea seems to work, but it won't make any difference to the testcase at hand: we bind the debug temp to rax, just returned from a function and about to be overwritten before we reach the debug bind insn for y. The attached patch is WIP, still missing documentation comments and testing. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43478