https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93297
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |11.0 Status|WAITING |RESOLVED Resolution|--- |FIXED --- Comment #10 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to John McFarlane from comment #9) > And here is an ICE in 10.2: > > struct a; > template <typename = int> class b; > template <class> b()->b<>; > template <int> using c = b<a>; > static_assert(c{} This is a dup of bug 95486 which is fixed in GCC 10.4. All of the rest of the ICEs are fixed for GCC 11.1.0 (some might be fixed in GCC 10.4 but I have not tried that yet).