r256726 - in /trunk/gcc: cp/ChangeLog cp/pt.c t...

jakub@gcc.gnu.org jakub@gcc.gnu.org
Tue Jan 16 08:44:00 GMT 2018


Author: jakub
Date: Tue Jan 16 08:44:48 2018
New Revision: 256726

URL: https://gcc.gnu.org/viewcvs?rev=256726&root=gcc&view=rev
Log:
	PR c++/83817
	* pt.c (tsubst_copy_and_build) <case CALL_EXPR>: If function
	is AGGR_INIT_EXPR rather than CALL_EXPR, set AGGR_INIT_FROM_THUNK_P
	instead of CALL_FROM_THUNK_P.

	* g++.dg/cpp1y/pr83817.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1y/pr83817.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list