r273139 - in /trunk/gcc: cp/ChangeLog cp/class....
mpolacek@gcc.gnu.org
mpolacek@gcc.gnu.org
Fri Jul 5 14:45:00 GMT 2019
Author: mpolacek
Date: Fri Jul 5 14:45:30 2019
New Revision: 273139
URL: https://gcc.gnu.org/viewcvs?rev=273139&root=gcc&view=rev
Log:
DR 1813
PR c++/83374 - __is_standard_layout wrong for a class with repeated bases.
* class.c (check_bases): Set CLASSTYPE_NON_STD_LAYOUT for a class if
CLASSTYPE_REPEATED_BASE_P is true.
* g++.dg/ext/is_std_layout3.C: New test.
* g++.dg/ext/is_std_layout4.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/ext/is_std_layout3.C
trunk/gcc/testsuite/g++.dg/ext/is_std_layout4.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/class.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list