r235662 - in /trunk/gcc: cp/ChangeLog cp/class....
paolo@gcc.gnu.org
paolo@gcc.gnu.org
Sat Apr 30 00:00:00 GMT 2016
Author: paolo
Date: Sat Apr 30 00:00:51 2016
New Revision: 235662
URL: https://gcc.gnu.org/viewcvs?rev=235662&root=gcc&view=rev
Log:
/cp
2016-04-29 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/66644
* class.c (check_field_decl): Remove final int* parameter, change
the return type to bool; fix logic in order not to reject multiple
initialized fields in anonymous struct.
(check_field_decls): Adjust call.
/testsuite
2016-04-29 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/66644
* g++.dg/cpp0x/nsdmi-anon-struct1.C: New.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/nsdmi-anon-struct1.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/class.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list