https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98463
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Reduced testcase: template <typename T> struct A { constexpr A () : a() {} [[no_unique_address]] T a; }; template <unsigned long, typename...> struct B; template <unsigned long T, typename U, typename... V> struct B<T, U, V...> : B<1, V...>, A<U> {}; template <unsigned long T, typename U> struct B<T, U> : A<U> {}; template <typename... h> struct C : B<0, h...> {}; struct D {}; struct E { C<int, D> k; virtual ~E (); } a; Started to ICE with r9-5710-g7e574f68fa82e7c5f879fd468291ec8b5ebecc83