[Bug c++/84655] internal compiler error: unexpected expression 'a' of kind template_parm_index
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84655 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED CC||mpolacek at gcc dot gnu.org Status|NEW |RESOLVED --- Comment #6 from Marek Polacek --- Fixed.
[Bug c++/84655] internal compiler error: unexpected expression 'a' of kind template_parm_index
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84655 Vegard Nossum changed: What|Removed |Added CC||vegard.nossum at oracle dot com --- Comment #5 from Vegard Nossum --- I can't seem to reproduce this anymore, I suppose it could be closed.
[Bug c++/84655] internal compiler error: unexpected expression 'a' of kind template_parm_index
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84655 --- Comment #4 from David Binderman --- I tried out various versions of gcc trunk, from revision 269700 to 270600 and could see no ice. I'd be interested to find out what Marek did to reproduce it.
[Bug c++/84655] internal compiler error: unexpected expression 'a' of kind template_parm_index
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84655 Arseny Solokha changed: What|Removed |Added CC||asolokha at gmx dot com --- Comment #3 from Arseny Solokha --- I cannot reproduce the ICE w/ any released version of gcc, from 8.1.0 through the current trunk.
[Bug c++/84655] internal compiler error: unexpected expression 'a' of kind template_parm_index
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84655 Marek Polacek changed: What|Removed |Added Priority|P3 |P4
[Bug c++/84655] internal compiler error: unexpected expression 'a' of kind template_parm_index
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84655 --- Comment #2 from Marek Polacek --- Before that we printed a boatload of errors: q.cc: In lambda function: q.cc:4:26: error: parameter packs not expanded with ‘...’: int d[] = [] { auto f(a); }; ^ q.cc:4:26: note: ‘a’ q.cc: At global scope: q.cc:5:33: error: array must be initialized with a brace-enclosed initializer } const __attribute__((noinline(b<>(; ^ q.cc:5:33: error: use of deleted function ‘b<>::b()’ q.cc:2:8: error: array must be initialized with a brace-enclosed initializer struct b { ^ q.cc:2:8: note: ‘b<>::b()’ is implicitly deleted because the default definition would be ill-formed: q.cc:2:8: error: uninitialized reference member in ‘struct b<>’ q.cc:3:9: note: ‘int&& b<>::c’ should be initialized int & ^ q.cc:5:3: error: ‘const’ can only be specified for objects and functions } const __attribute__((noinline(b<>(; ^ q.cc:2:8: warning: attribute ignored in declaration of ‘struct b’ [-Wattributes] struct b { ^ q.cc:2:8: note: attribute for ‘struct b’ must follow the ‘struct’ keyword
[Bug c++/84655] internal compiler error: unexpected expression 'a' of kind template_parm_index
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84655 Marek Polacek changed: What|Removed |Added Keywords||ice-on-invalid-code Status|UNCONFIRMED |NEW Last reconfirmed||2018-03-01 CC||mpolacek at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Marek Polacek --- Confirmed. Started with r251433.