https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105088
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |needs-bisection Ever confirmed|0 |1 Known to work| |12.0 Last reconfirmed| |2022-03-29 Status|UNCONFIRMED |NEW --- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- It works for me with trunk: <0><c>: Abbrev Number: 1 (DW_TAG_compile_unit) <d> DW_AT_producer : (indirect string, offset: 0x0): GNU C17 12.0.1 202 20328 (experimental) -mtune=generic -march=x86-64 -g <11> DW_AT_language : 29 (C11) <12> DW_AT_name : (indirect line string, offset: 0x10): /tmp/obj/gc c/t.c ... The File Name Table (offset 0x30, lines 2, columns 2): Entry Dir Name 0 0 (indirect line string, offset: 0x3e): /tmp/obj/gcc/t.c 1 1 (indirect line string, offset: 0x4f): t.c confirmed with GCC 11, something fixed it.