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

--- Comment #5 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Mon May  6 16:56:39 2019
New Revision: 270917

URL: https://gcc.gnu.org/viewcvs?rev=270917&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:
    trunk/gcc/testsuite/g++.dg/cpp1y/lambda-generic-90265.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c
    trunk/gcc/testsuite/ChangeLog

Reply via email to