[Bug debug/120571] emit DWARF type declarations for incomplete types in headers

2025-06-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120571 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug debug/120571] emit DWARF type declarations for incomplete types in headers

2025-06-06 Thread woodard at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120571 --- Comment #2 from Ben Woodard --- Yes a partial workaround could be something like: gcc -g -fno-eliminate-unused-debug-types -include impl.h -xc /dev/null -c -o FOO.o which will emit the type and the variable but still doesn't give us the

[Bug debug/120571] emit DWARF type declarations for incomplete types in headers

2025-06-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120571 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org,