http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46724
--- Comment #4 from Alexandre Oliva <aoliva at gcc dot gnu.org> 2010-12-16 05:38:44 UTC --- Considering that we create a decl for the implicit argument that holds the address of <result>, perhaps the best approach would be to emit debug info for that artificial decl. The initial implicit binding of argument variables to their incoming locations should take care of the debug info for the artificial parameter throughout the function, and the location of <result> could then be given in terms of the artificial variable (dwarf calls). Does that sound sensible?