This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/66445] [5/6 Regression] ICE with lambda in stmt expression in a template
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 11 Jun 2015 15:45:40 +0000
- Subject: [Bug c++/66445] [5/6 Regression] ICE with lambda in stmt expression in a template
- Auto-submitted: auto-generated
- References: <bug-66445-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66445
--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Thu Jun 11 15:45:08 2015
New Revision: 224382
URL: https://gcc.gnu.org/viewcvs?rev=224382&root=gcc&view=rev
Log:
PR c++/66445
* constexpr.c (potential_constant_expression_1): Handle a
DECL_EXPR of TYPE_DECL.
Added:
trunk/gcc/testsuite/g++.dg/ext/stmtexpr18.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/constexpr.c