[Bug c/100124] New: Why is "flexible array member '...' in an otherwise empty '...'" an issue?

2021-04-16 Thread gcc at behdad dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100124 Bug ID: 100124 Summary: Why is "flexible array member '...' in an otherwise empty '...'" an issue? Product: gcc Version: unknown Status: UNCONFIRMED Severity:

[Bug preprocessor/100125] New: -Wunused-macros generated while should be ignored; if undef is seen?

2021-04-16 Thread gcc at behdad dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100125 Bug ID: 100125 Summary: -Wunused-macros generated while should be ignored; if undef is seen? Product: gcc Version: 10.2.1 Status: UNCONFIRMED Severity: normal

[Bug c++/100124] Why is "flexible array member '...' in an otherwise empty '...'" an issue?

2021-04-20 Thread gcc at behdad dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100124 --- Comment #6 from Behdad Esfahbod --- Thank you all. I understand it's unlikely to happen at this point. In reply to Andrew Pinski from comment #1) > I will let someone comment on the flexible array extension. > > But I will note GCC treats

[Bug c++/100124] Why is "flexible array member '...' in an otherwise empty '...'" an issue?

2021-04-20 Thread gcc at behdad dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100124 --- Comment #8 from Behdad Esfahbod --- (In reply to Andrew Pinski from comment #7) > > Can you report that as a bug as GCC's rule is treat all arrays that end a > POD as a flexiable array? Please include the full preprocessed source that > pr