https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99654

--- Comment #13 from Sam James <sjames at gcc dot gnu.org> ---
The dodgy label reference is already there

(gdb) p debug(subr_die)

    DIE    0: DW_TAG_inlined_subroutine (0x7ffff70080f0)
      abbrev id: 0 offset: 0 mark: 0
      DW_AT_abstract_origin: die -> 0 (0x7ffff73cccd0)
      DW_AT_entry_pc: label: *.LBI23
      DW_AT_GNU_entry_view: 12
      DW_AT_ranges: range list

at

(gdb) frame
#3  0x0000000001161639 in gen_subprogram_die (decl=0x7ffff73cd600,
context_die=0x7ffff721cb90) at /home/sam/git/gcc/gcc/dwarf2out.cc:24288
24288         decls_for_scope (outer_scope, subr_die);
(gdb) bt
#0  gen_inlined_subroutine_die (stmt=0x7ffff720e888,
context_die=0x7ffff73cca00) at /home/sam/git/gcc/gcc/dwarf2out.cc:25212
#1  0x000000000116776c in gen_block_die (stmt=0x7ffff720e888,
context_die=0x7ffff73cca00) at /home/sam/git/gcc/gcc/dwarf2out.cc:26764
#2  0x0000000001167baa in decls_for_scope (stmt=0x7ffff720e478,
context_die=0x7ffff73cca00, recurse=true) at
/home/sam/git/gcc/gcc/dwarf2out.cc:26890
#3  0x0000000001161639 in gen_subprogram_die (decl=0x7ffff73cd600,
context_die=0x7ffff721cb90) at /home/sam/git/gcc/gcc/dwarf2out.cc:24288
#4  0x00000000011688f1 in gen_decl_die (decl=0x7ffff73cd600, origin=0x0,
ctx=0x0, context_die=0x7ffff721cb90) at
/home/sam/git/gcc/gcc/dwarf2out.cc:27298
#5  0x0000000001169aa6 in dwarf2out_decl (decl=0x7ffff73cd600) at
/home/sam/git/gcc/gcc/dwarf2out.cc:27879
#6  0x0000000001169b08 in dwarf2out_function_decl (decl=0x7ffff73cd600) at
/home/sam/git/gcc/gcc/dwarf2out.cc:27894

Reply via email to