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

--- Comment #7 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Mon May  6 17:08:08 2019
New Revision: 270919

URL: https://gcc.gnu.org/viewcvs?rev=270919&root=gcc&view=rev
Log:
        PR c++/90265 - ICE with generic lambda.
        * pt.c (tsubst_copy_and_build): Use a dedicated variable for the last
        element in the vector.

        * g++.dg/cpp1y/lambda-generic-90265.C: New test.

Added:
    branches/gcc-9-branch/gcc/testsuite/g++.dg/cpp1y/lambda-generic-90265.C
Modified:
    branches/gcc-9-branch/gcc/cp/ChangeLog
    branches/gcc-9-branch/gcc/cp/pt.c
    branches/gcc-9-branch/gcc/testsuite/ChangeLog

Reply via email to