diff --git a/gcc/cp/coroutines.cc b/gcc/cp/coroutines.cc index ba4ac682f11..bec7f2f2027 100644 --- a/gcc/cp/coroutines.cc +++ b/gcc/cp/coroutines.cc @@ -4119,7 +4119,7 @@ morph_fn_to_coro (tree orig, tree *resumer, tree *destroyer) else if (!grooaf && TYPE_NOTHROW_P (TREE_TYPE (func))) warning_at (fn_start, 0, "%qE is marked % or % but" " no usable %" - " is provided by %qT ", nwname, promise_type); + " is provided by %qT", nwname, promise_type); } else /* No operator new in the promise. */ {