------- Comment #13 from jakub at gcc dot gnu dot org 2009-09-15 09:18 ------- For dwarf2out.c, it is IMHO desirable to be able to find out the original decls which you refer to, rather than have some artificial ones. Otherwise for DW_OP_call{2,4} you'd have to create artificial variables in the debug info and refer to them. dwarf2out.c then can decide whether the location is simple enough to inline its location expression, or is too complex and use DW_OP_call{2,4} in that case.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41343