This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix lambdas in template default argument of inherited ctor. (backport for PR 81860)
- From: Jason Merrill <jason at redhat dot com>
- To: Jonathan Wakely <jwakely at redhat dot com>
- Cc: gcc-patches List <gcc-patches at gcc dot gnu dot org>, Marek Polacek <polacek at redhat dot com>
- Date: Fri, 16 Feb 2018 09:07:40 -0500
- Subject: Re: [PATCH] Fix lambdas in template default argument of inherited ctor. (backport for PR 81860)
- Authentication-results: sourceware.org; auth=none
- References: <20180126131248.GF3417@redhat.com>
OK.
On Fri, Jan 26, 2018 at 8:12 AM, Jonathan Wakely <jwakely@redhat.com> wrote:
> This is a backport of r251426 which incidentally fixed PR 81860 and
> its dup. The bug was closed as fixed, but as a regression it should be
> fixed for 7.x too.
>
> The patch applied cleanly to the branch except for a minor conflict in
> get_defaulted_eh_spec because r250994 isn't on the branch.
>
> Tested x86_64-linux, OK for gcc-7-branch?
>
>
> Backport from mainline
> 2017-08-29 Jason Merrill <jason@redhat.com>
>
> * 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.
>
> Backport from mainline
> 2018-01-02 Marek Polacek <polacek@redhat.com>
>
> PR c++/81860
> * g++.dg/cpp0x/inh-ctor30.C: New test.
>
>