https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101431
--- Comment #8 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- > With -gsplit-dwarf (and without -gno-as-loc-support) I can reproduce in 11, > but not on the trunk, where it got fixed with > r12-1777-ga21dc9d1529b8a8071e36b22b6e8492fc2ce7d5a > The .file 0 emission in 11 used to be guarded with asm_outputs_debug_line_str > which is false for split dwarf. r12-1777-ga21dc9d1529b8a8071e36b22b6e8492fc2ce7d5a has been backported onto the 11 branch as r11-8650-gf19b20de1b24d6b53479c6815316a5201b22775d.