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

--- Comment #9 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-9 branch has been updated by Jason Merrill
<ja...@gcc.gnu.org>:

https://gcc.gnu.org/g:7db777843ccba2596f3aa1817edc50156afe2fc3

commit r9-8183-g7db777843ccba2596f3aa1817edc50156afe2fc3
Author: Jason Merrill <ja...@redhat.com>
Date:   Fri Jan 24 18:20:56 2020 -0500

    c++: Fix ICE with lambda in member operator (PR93279)

    Here the problem was that we were remembering the lookup in template scope,
    and then trying to reuse that lookup in the instantiation without
    substituting into it at all.  The simplest solution is to not try to
    remember a lookup that finds a class-scope declaration, as in that case
    doing the normal lookup again at instantiation time will always find the
    right declarations.

        PR c++/93279 - ICE with lambda in member operator.
        * name-lookup.c (maybe_save_operator_binding): Don't remember
        class-scope bindings.

Reply via email to