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

--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jason Merrill <ja...@gcc.gnu.org>:

https://gcc.gnu.org/g:59dbb04df76da41f26192c2c219584fc3d6017cc

commit r10-6543-g59dbb04df76da41f26192c2c219584fc3d6017cc
Author: Jason Merrill <ja...@redhat.com>
Date:   Mon Feb 10 00:47:34 2020 +0100

    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.

Reply via email to