[Bug debug/78100] DWARF symbols for an array sometimes missing the array length

2024-06-01 Thread puetzk at puetzk dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78100 --- Comment #10 from Kevin Puetz --- The godbolt recipe also nails down the other end of the version range - 5.4 produced something weirder still (a single DW_TAG_variable with DW_AT_external=true, but also with DW_AT_location and

[Bug debug/78100] DWARF symbols for an array sometimes missing the array length

2024-06-01 Thread mark at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78100 Mark Wielaard changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug debug/78100] DWARF symbols for an array sometimes missing the array length

2024-05-31 Thread puetzk at puetzk dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78100 --- Comment #8 from Kevin Puetz --- Found it: this is a duplicate of bug 91507, thus fixed by r276403/31632e2c4327146ea8d21cff33adaa505b17d2bd

[Bug debug/78100] DWARF symbols for an array sometimes missing the array length

2024-05-31 Thread puetzk at puetzk dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78100 --- Comment #7 from Kevin Puetz --- Nope, falsified that guess - I just realized compiler explorer can do dwarfdump, which makes it easy to bisect among the releases they have (if not actually commit-by-commit). This shows that 9.5.0 (which has

[Bug debug/78100] DWARF symbols for an array sometimes missing the array length

2024-05-31 Thread puetzk at puetzk dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78100 Kevin Puetz changed: What|Removed |Added CC||puetzk at puetzk dot org --- Comment #6

[Bug debug/78100] DWARF symbols for an array sometimes missing the array length

2024-03-14 Thread cJ-gcc at zougloub dot eu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78100 Jérôme Carretero changed: What|Removed |Added CC||cJ-gcc at zougloub dot eu ---

[Bug debug/78100] DWARF symbols for an array sometimes missing the array length

2024-01-05 Thread gccbugs at dima dot secretsauce.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78100 --- Comment #4 from Dima Kogan --- I just tried again, and I see that this bug has been fixed. I'm using gcc (Debian 13.2.0-2) 13.2.0 Should we close this report?

[Bug debug/78100] DWARF symbols for an array sometimes missing the array length

2016-10-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78100 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug debug/78100] DWARF symbols for an array sometimes missing the array length

2016-10-24 Thread gccbugs at dima dot secretsauce.net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78100 --- Comment #2 from Dima Kogan --- For easier reading, the test program looks like this: #include extern int s[]; int s[] = { 1,2,3 }; int main(void) { printf("%zd\n", sizeof(s)); return 0; }

[Bug debug/78100] DWARF symbols for an array sometimes missing the array length

2016-10-24 Thread gccbugs at dima dot secretsauce.net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78100 --- Comment #1 from Dima Kogan --- Created attachment 39876 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39876=edit test case