c++: Fix flexible array with synthesized constructor.
We were already rejecting initialization of a flexible array member in a constructor; we similarly shouldn't try to clean it up. PR c++/93618 * tree.c (array_of_unknown_bound_p): New. * init.c (perform_member_init): Do nothing for flexible arrays.
Showing
gcc/testsuite/g++.dg/ext/flexary35.C
0 → 100644
Please
register
or
sign in
to comment