https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95574
Tom de Vries <vries at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |wrong-debug --- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> --- I can track this down to build/x86_64-pc-linux-gnu/libgcc/_absvsi2_s.o ... [0x00000116] Special opcode 75: advance Address by 5 to 0xa and Line by 0 to 246 [0x00000117] Advance PC by 0 to 0xa [0x00000119] Extended opcode 1: End of Sequence ... and using -save-temps I get the corresponding .s file: ... .section .text.unlikely .cfi_startproc .type __absvsi2.cold, @function __absvsi2.cold: .LFSB26: .L12: .cfi_def_cfa_offset 16 .loc 1 246 5 is_stmt 1 view .LVU17 call abort@PLT .LVL7: .loc 1 246 5 is_stmt 0 view .LVU33 .cfi_endproc .LFE26: ... I think this is due to the last .loc. I'm not sure if it makes sense to declare a .loc after a non-returning insn.