https://gcc.gnu.org/bugzilla/show_bug.cgi?id=128898
--- Comment #4 from Drea Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Jonathan Grant from comment #3)
> (In reply to Jonny Grant from comment #2)
> > (In reply to Drea Pinski from comment #1)
> > > I have not looked fully but __tu_terminate_wrapper is not being marked as
> > > noreturn.
> >
> > Ok. I'll work on preparing a patch for contracts.cc
>
> I'm working on a change in contracts.cc (declare_terminate_wrapper)
>
> DECL_ATTRIBUTES (tu_terminate_wrapper)
> = tree_cons (get_identifier ("noipa"), NULL,
> tree_cons (get_identifier ("noreturn"), NULL, NULL_TREE));
Yes this was done on purpose, see PR 121936.