https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90674
--- Comment #1 from Sergey Barannikov <barannikov88 at gmail dot com> --- Can be further simplified to just template<typename T> struct C { C() {} }; template<> C<int>::C() = default; with the same result.