https://gcc.gnu.org/bugzilla/show_bug.cgi?id=128898
--- Comment #3 from Jonny Grant <jg at jguk dot org> ---
(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));