https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81860

--- Comment #9 from Jonathan Wakely <redi at gcc dot gnu.org> ---
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  <ja...@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  <pola...@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

Reply via email to