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

jason@gcc.gnu.org jason@gcc.gnu.org
Tue Aug 9 14:37:00 GMT 2016


Author: jason
Date: Tue Aug  9 14:37:12 2016
New Revision: 239289

URL: https://gcc.gnu.org/viewcvs?rev=239289&root=gcc&view=rev
Log:
	PR c++/72849 - ICE with incomplete class.

	* constexpr.c (cxx_eval_constant_expression): Check
	COMPLETE_TYPE_P before calling is_really_empty_class.
	* class.c (is_really_empty_class): Don't call complete_type.

Added:
    trunk/gcc/testsuite/g++.dg/template/incomplete7.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/class.c
    trunk/gcc/cp/constexpr.c



More information about the Gcc-cvs mailing list