From eef63aacb255befb4e483cf680a3d0dcb2d8794e Mon Sep 17 00:00:00 2001 From: Iain Sandoe Date: Tue, 30 Jun 2020 14: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. --- 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 ba4ac682f..bec7f2f 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. */ { -- 2.7.4