This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/64496] New: [4.8/4.9/5 Regression] ICE with NSDMI and lambda
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 05 Jan 2015 10:09:11 +0000
- Subject: [Bug c++/64496] New: [4.8/4.9/5 Regression] ICE with NSDMI and lambda
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64496
Bug ID: 64496
Summary: [4.8/4.9/5 Regression] ICE with NSDMI and lambda
Product: gcc
Version: 5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: jakub at gcc dot gnu.org
CC: jason at gcc dot gnu.org
template <typename> class B;
template <typename W, typename... X>
struct B<W(X...)> { template <typename F> B(F); };
template <typename W, typename... X>
template <typename F>
B<W(X...)>::B(F) {}
int
main()
{
int a;
struct A
{
B<void()> l = [=] { a; };
};
A t;
}
ICEs with -std=c++0x starting with r179155.