From: Iain Sandoe Date: Tue, 30 Jun 2020 13:59:43 +0000 (+0100) Subject: coroutines: Fix a diagnostic trailing space warning. X-Git-Tag: basepoints/gcc-12~6524 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=eef63aacb255befb4e483cf680a3d0dcb2d8794e;p=thirdparty%2Fgcc.git coroutines: Fix a diagnostic trailing space warning. A recently add diagnostic has a trailing space. Fixed thus. gcc/cp/ChangeLog: * coroutines.cc (morph_fn_to_coro): Remove trailing space in a diagnostic. --- diff --git a/gcc/cp/coroutines.cc b/gcc/cp/coroutines.cc index ba4ac682f11d..bec7f2f20276 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. */ {