------- Comment #9 from jakub at gcc dot gnu dot org 2009-09-14 15:04 ------- Limiting the size of the debug_stmt/debug_insn expression is certainly desirable, having it unbounded is bad. The question is what to do if the size grows too much. One possibility is dropping them to the floor, another one would be to have a way to refer to other vars that are already tracked at the current spot. In debug info we could use DW_OP_call{2,4} to refer to those DIEs' DW_AT_location, but AFAIK gdb doesn't handle those 2 yet.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41343