https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119214
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mark at gcc dot gnu.org --- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Or perhaps represent it as DW_TAG_lexical_block with some extension attribute on it which can the debuggers use to differentiate the division from normal lexical blocks? Having just start and end is not good enough in any case, while at -O0 perhaps it will stay as is, with optimizations instructions from outside of it can be intermixed from instructions inside of it. So it really needs in general something that can have DW_AT_ranges attribute, not just DW_AT_low_pc/DW_AT_high_pc or similar.