r243669 - in /trunk/gcc: cp/ChangeLog cp/init.c...
mpolacek@gcc.gnu.org
mpolacek@gcc.gnu.org
Wed Dec 14 20:41:00 GMT 2016
Author: mpolacek
Date: Wed Dec 14 20:41:43 2016
New Revision: 243669
URL: https://gcc.gnu.org/viewcvs?rev=243669&root=gcc&view=rev
Log:
PR c++/72775
* init.c (perform_member_init): Diagnose member initializer for
flexible array member.
* g++.dg/ext/flexary12.C: Adjust dg-error.
* g++.dg/ext/flexary20.C: New.
* g++.dg/ext/flexary21.C: New.
Added:
trunk/gcc/testsuite/g++.dg/ext/flexary20.C
trunk/gcc/testsuite/g++.dg/ext/flexary21.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/init.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/g++.dg/ext/flexary12.C
More information about the Gcc-cvs
mailing list