[Bug c++/66387] New: [5/6 Regression] ICE in make_decl_rtl with lambda
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jun 2 22:29:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66387
Bug ID: 66387
Summary: [5/6 Regression] ICE in make_decl_rtl with lambda
Product: gcc
Version: 5.1.1
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
Target Milestone: ---
template <typename T>
void
bar (T x)
{
x ();
}
void
foo ()
{
constexpr int a[1] = { 1 };
bar ([&]{ return a[0]; });
}
ICEs with -std=c++11 and -std=c++14 starting with r217814.
More information about the Gcc-bugs
mailing list