This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/85200] [8 Regression] ICE in constexpr-if in lambda in template


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

--- Comment #7 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Thu Apr  5 14:20:53 2018
New Revision: 259127

URL: https://gcc.gnu.org/viewcvs?rev=259127&root=gcc&view=rev
Log:
        PR c++/85200 - ICE with constexpr if in generic lambda.

        * pt.c (extract_locals_r): Don't record the local specs of variables
        declared within the pattern.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1z/constexpr-if19.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]