https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101431
Jakub Jelinek changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101431
--- Comment #8 from Eric Botcazou ---
> 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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101431
Jakub Jelinek changed:
What|Removed |Added
CC||ebotcazou at gcc dot gnu.org
--- Commen
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101431
--- Comment #6 from Richard Biener ---
(In reply to Richard Biener from comment #5)
> (In reply to Richard Biener from comment #4)
> > > cat tmp/t.c
> > void foo(int i) {}
> > > gcc-11 -g -o tmp/t.o tmp/t.c -c
> >
> > and the DWARF ends up
> >
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101431
--- Comment #5 from Richard Biener ---
(In reply to Richard Biener from comment #4)
> > cat tmp/t.c
> void foo(int i) {}
> > gcc-11 -g -o tmp/t.o tmp/t.c -c
>
> and the DWARF ends up
>
> <0>: Abbrev Number: 1 (DW_TAG_compile_unit)
>DW
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101431
--- Comment #4 from Richard Biener ---
> cat tmp/t.c
void foo(int i) {}
> gcc-11 -g -o tmp/t.o tmp/t.c -c
and the DWARF ends up
<0>: Abbrev Number: 1 (DW_TAG_compile_unit)
DW_AT_producer: (indirect string, offset: 0x0): GNU C17 11.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101431
--- Comment #3 from roc at ocallahan dot org ---
This is the Fedora 34 package.
$ gcc --version
gcc (GCC) 11.1.1 20210531 (Red Hat 11.1.1-3)
$ rpm -qa|grep ^gcc-11
gcc-11.1.1-3.fc34.x86_64
$ rpm -qa|grep binutils-2
binutils-2.35.1-41.fc34.x86_6
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101431
Jakub Jelinek changed:
What|Removed |Added
CC||jakub at gcc dot gnu.org
--- Comment #2
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101431
--- Comment #1 from roc at ocallahan dot org ---
Clang follows the spec (clang 12, -fdebug-default-version=5):
The Directory Table:
0 /tmp/pernosco-submit-test
1 out
The File Name Table
Entry Dir TimeSizeMD5