On Fri, Jun 1, 2012 at 9:50 AM, Jason Merrill <ja...@redhat.com> wrote:
> In 4.7, this is one bug: we are doing a push_to_top_level to instantiate the
> lambda, and then not pushing back into the function scope that the lambda
> belongs to.  Fixed by following the lead of synthesize_method and only doing
> push_function_context if we're dealing with a local class.
>
> On the trunk, after that issue was fixed I also had to fix our handling of
> 'this' capture in template lambdas after my work on return type deduction
> for arbitrary functions.
>
> Tested x86_64-pc-linux-gnu, applying to trunk and 4.7.

This caused:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53821

-- 
H.J.

Reply via email to