[Bug c++/87148] [7 Regression] backward compatibility issue to take char [] as incomplete type
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Aug 30 12:14:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87148
--- Comment #13 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Aug 30 12:13:40 2019
New Revision: 275124
URL: https://gcc.gnu.org/viewcvs?rev=275124&root=gcc&view=rev
Log:
Backported from mainline
2019-03-06 Jakub Jelinek <jakub@redhat.com>
PR c++/87148
* init.c (build_value_init_noctor): Ignore flexible array members.
* g++.dg/ext/flexary34.C: New test.
Added:
branches/gcc-7-branch/gcc/testsuite/g++.dg/ext/flexary34.C
Modified:
branches/gcc-7-branch/gcc/cp/ChangeLog
branches/gcc-7-branch/gcc/cp/init.c
branches/gcc-7-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list