[Bug c++/100252] Internal compiler error during template instantiation
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100252 Richard Biener changed: What|Removed |Added Keywords||ice-on-valid-code Ever confirmed|0 |1 Known to fail||10.3.0, 11.0, 12.0 Status|UNCONFIRMED |NEW Last reconfirmed||2021-04-26 --- Comment #3 from Richard Biener --- template struct E{ int decltype(E::k) = E{K}.k; }; template<> struct E<0>{ int int = K; }; int main(){ int r; E<1>{r}.k = 7; }
[Bug c++/100252] Internal compiler error during template instantiation
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100252 --- Comment #2 from Jeremy R. --- Even more minimal case: https://godbolt.org/z/M3Tv9oqcn
[Bug c++/100252] Internal compiler error during template instantiation
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100252 --- Comment #1 from Jeremy R. --- A more minimal case: https://godbolt.org/z/jxP9e35bz