[Bug c++/60323] incorrect usage of designated initializers with struct which includes flexible array

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Dec 9 06:03:53 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60323

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Obviously this works:
struct A a = {.c = 1, .data = {1}};


More information about the Gcc-bugs mailing list