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++/81525] [7 Regression] Invalid codegen with constexpr variable template


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

--- Comment #11 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Wed Oct  4 15:38:24 2017
New Revision: 253415

URL: https://gcc.gnu.org/viewcvs?rev=253415&root=gcc&view=rev
Log:
        PR c++/81525 - broken handling of auto in generic lambda.

        * pt.c (tsubst_decl) [VAR_DECL]: Use strip_innermost_template_args.

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

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