From: Iain Sandoe Date: Wed, 1 Jul 2020 06:59:43 +0000 (+0100) Subject: coroutines: Fix a diagnostic trailing space warning. X-Git-Tag: releases/gcc-10.2.0~107 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e03d25cc276ad56d80880271533f8b695ed1ad5;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. (cherry picked from commit eef63aacb255befb4e483cf680a3d0dcb2d8794e) --- 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. */ {