[Bug c++/64496] New: [4.8/4.9/5 Regression] ICE with NSDMI and lambda
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jan 5 10:09:00 GMT 2015
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.
More information about the Gcc-bugs
mailing list