From 7e03d25cc276ad56d80880271533f8b695ed1ad5 Mon Sep 17 00:00:00 2001 From: Iain Sandoe Date: Wed, 1 Jul 2020 07:59:43 +0100 Subject: [PATCH] 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. (cherry picked from commit eef63aacb255befb4e483cf680a3d0dcb2d8794e) --- gcc/cp/coroutines.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/cp/coroutines.cc b/gcc/cp/coroutines.cc index 9ab0a7ea10f1..95e44e264f41 100644 --- a/gcc/cp/coroutines.cc +++ b/gcc/cp/coroutines.cc @@ -4109,7 +4109,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. */ { -- 2.47.3