r257806 - in /branches/gcc-7-branch/gcc: cp/Cha...

redi@gcc.gnu.org redi@gcc.gnu.org
Mon Feb 19 14:53:00 GMT 2018


Author: redi
Date: Mon Feb 19 14:53:36 2018
New Revision: 257806

URL: https://gcc.gnu.org/viewcvs?rev=257806&root=gcc&view=rev
Log:
Fix lambdas in template default argument of inherited ctor.

gcc/cp:

Backport from mainline
2017-08-29  Jason Merrill  <jason@redhat.com>

	Fix lambdas in template default argument of inherited ctor.
	* method.c (synthesized_method_base_walk): Replace an inherited
	template with its specialization.
	(synthesized_method_walk): Make inheriting_ctor a pointer.
	(maybe_explain_implicit_delete, explain_implicit_non_constexpr)
	(deduce_inheriting_ctor, implicitly_declare_fn): Adjust.

gcc/testsuite:

Backport from mainline
2018-01-02  Marek Polacek  <polacek@redhat.com>

	PR c++/81860
	* g++.dg/cpp0x/inh-ctor30.C: New test.

Added:
    branches/gcc-7-branch/gcc/testsuite/g++.dg/cpp0x/inh-ctor30.C
    branches/gcc-7-branch/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-mangle5.C
Modified:
    branches/gcc-7-branch/gcc/cp/ChangeLog
    branches/gcc-7-branch/gcc/cp/method.c
    branches/gcc-7-branch/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list