https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39436
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot gnu.org --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Interesting it was mentioned here: https://gcc.gnu.org/legacy-ml/gcc/2003-12/msg00336.html I wonder if we could mark the BLOCK as being the try block and then output DW_TAG_try_block instead of DW_TAG_lexical_block . Likewise for catch. Maybe I will give that a go for GCC 15. Though I might be only handle the C++ front-end. Others will need to handle other FEs.