https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112775
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Note the workaround is to do just this: ``` template <class T, T n> class A<T, n, n> {}; ```
pinskia at gcc dot gnu.org via Gcc-bugs Fri, 01 Dec 2023 16:30:13 -0800
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112775
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Note the workaround is to do just this: ``` template <class T, T n> class A<T, n, n> {}; ```