[Bug c++/115594] requires expression permits arrays of voids

2024-06-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115594 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRME

[Bug c++/115594] requires expression permits arrays of voids

2024-06-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115594 --- Comment #2 from Andrew Pinski --- I think this is a dup of bug 24664.

[Bug c++/115594] requires expression permits arrays of voids

2024-06-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115594 --- Comment #1 from Andrew Pinski --- The interesting thing is the reason why clang outputs: :2:25: note: because 't' would be invalid: array has incomplete element type 'void' Is not exactly correct as if you change void to being a incomplete