[Bug c++/68489] arrays of flexible array members are silently accepted

2019-05-30 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68489 --- Comment #6 from joseph at codesourcery dot com --- I'm not sure about arrays of structs, but glibc uses [0] at end of struct in some cases where proper flexible array members would not be accepted. E.g. struct __gconv_info { size_t

[Bug c++/68489] arrays of flexible array members are silently accepted

2019-05-30 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68489 --- Comment #5 from Nathan Sidwell --- if GCC rejects such arrays of trailing-array structs, and my assumption that glibc is in C, I don't think it can be using them. IMHO they don't make sense and a compile time error would be good.

[Bug c++/68489] arrays of flexible array members are silently accepted

2019-05-29 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68489 Eric Gallager changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #4

[Bug c++/68489] arrays of flexible array members are silently accepted

2016-12-05 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68489 Nathan Sidwell changed: What|Removed |Added CC||nathan at gcc dot gnu.org --- Comment

[Bug c++/68489] arrays of flexible array members are silently accepted

2016-12-05 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68489 Nathan Sidwell changed: What|Removed |Added CC||redi at gcc dot gnu.org --- Comment #2

[Bug c++/68489] arrays of flexible array members are silently accepted

2016-02-01 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68489 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|