diff options
author | Jason Merrill <jason@redhat.com> | 2020-02-10 00:47:34 +0100 |
---|---|---|
committer | Jason Merrill <jason@redhat.com> | 2020-02-10 09:50:34 +0100 |
commit | 59dbb04df76da41f26192c2c219584fc3d6017cc (patch) | |
tree | ec482184d1fd95fedf476bdf3f847f3a38080263 /gcc/system.h | |
parent | fd789c816b06235b04698636db69e302b24c83ba (diff) | |
download | gcc-59dbb04df76da41f26192c2c219584fc3d6017cc.zip gcc-59dbb04df76da41f26192c2c219584fc3d6017cc.tar.gz gcc-59dbb04df76da41f26192c2c219584fc3d6017cc.tar.bz2 |
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.
Diffstat (limited to 'gcc/system.h')
0 files changed, 0 insertions, 0 deletions