https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96286
--- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Jason Merrill from comment #5) > I get better results if I add the static_assert to __uninitialized_copy_a, > so we hit it before queuing any further instantiations. I actually need to check the same assertion in that function anyway, for the constexpr std::vector case. I'll see how the diagnostics look on that branch after rebasing on trunk, to get your recent G++ changes. Thanks.