https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92869
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- And the template <typename T, __SIZE_TYPE__ N> struct A { A() = default; A(const A &) = default; A(A &&) = default; T arr[N]; }; int main() { if (!__is_aggregate (A<int,3>)) __builtin_abort (); } testcase reduced from #c0 too.