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

--- Comment #5 from Nathan Sidwell <nathan at gcc dot gnu.org> ---
Author: nathan
Date: Wed Sep  5 17:32:26 2018
New Revision: 264129

URL: https://gcc.gnu.org/viewcvs?rev=264129&root=gcc&view=rev
Log:
[PR c++/87185] ICE in prune-lambdas

https://gcc.gnu.org/ml/gcc-patches/2018-09/msg00249.html
        cp/
        PR c++/87185
        * lambda.c (prune_lambda_captures): Protect against const_vars.get
        returning NULL.
        testsuite/
        PR c++/87185
        * g++.dg/pr87185.C: New.

Added:
    branches/gcc-8-branch/gcc/testsuite/g++.dg/pr87185.C
Modified:
    branches/gcc-8-branch/gcc/cp/ChangeLog
    branches/gcc-8-branch/gcc/cp/lambda.c
    branches/gcc-8-branch/gcc/testsuite/ChangeLog

Reply via email to