https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80956
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Reduced testcase: namespace std { template <class> class initializer_list; } template <typename T> struct B { B (std::initializer_list<T>); }; struct C { virtual int foo (); }; struct D : C {} d { B<C> { D {} } }; Perhaps related to PR83227?