r244881 - in /trunk/gcc: cp/ChangeLog cp/conste...
nathan@gcc.gnu.org
nathan@gcc.gnu.org
Tue Jan 24 19:25:00 GMT 2017
Author: nathan
Date: Tue Jan 24 19:25:32 2017
New Revision: 244881
URL: https://gcc.gnu.org/viewcvs?rev=244881&root=gcc&view=rev
Log:
PR c++/79118 - anon-members and constexpr
* constexpr.c (cx_check_missing_mem_inits): Caller passes type not
ctor decl. Recursively check anonymous members.
(register_constexpr_fundef): Adjust cx_check_missing_mem_inits
call.
(explain_invalid_constexpr_fn): Likewise.
PR c++/79118
* g++.dg/cpp0x/pr79118.C: New.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/pr79118.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/constexpr.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list