r279241 - in /trunk/gcc: cp/ChangeLog cp/class....

jakub@gcc.gnu.org jakub@gcc.gnu.org
Wed Dec 11 18:44:00 GMT 2019


Author: jakub
Date: Wed Dec 11 18:44:02 2019
New Revision: 279241

URL: https://gcc.gnu.org/viewcvs?rev=279241&root=gcc&view=rev
Log:
	PR c++/92869
	* class.c (finish_struct): For C++17 and earlier, check
	type_has_user_provided_or_explicit_constructor rather than
	TYPE_HAS_USER_CONSTRUCTOR whether to set CLASSTYPE_NON_AGGREGATE.

	* g++.dg/cpp0x/aggr3.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/aggr3.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/class.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list