public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/autopar_devel] coroutines: Fix a diagnostic trailing space warning.
@ 2020-08-22 23:08 Giuliano Belinassi
0 siblings, 0 replies; only message in thread
From: Giuliano Belinassi @ 2020-08-22 23:08 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:195303413dc8e84ec4554969f6316ff2fee8565e
commit 195303413dc8e84ec4554969f6316ff2fee8565e
Author: Iain Sandoe <iain@sandoe.co.uk>
Date: Tue Jun 30 14:59:43 2020 +0100
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:
---
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 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 %<throw()%> or %<noexcept%> but"
" no usable %<get_return_object_on_allocation_failure%>"
- " is provided by %qT ", nwname, promise_type);
+ " is provided by %qT", nwname, promise_type);
}
else /* No operator new in the promise. */
{
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-08-22 23:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-22 23:08 [gcc/devel/autopar_devel] coroutines: Fix a diagnostic trailing space warning Giuliano Belinassi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).