GCC with patches for OS216
Revision | eef63aacb255befb4e483cf680a3d0dcb2d8794e (tree) |
---|---|
Zeit | 2020-07-01 00:32:39 |
Autor | Iain Sandoe <iain@sand...> |
Commiter | Iain Sandoe |
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.
@@ -4119,7 +4119,7 @@ morph_fn_to_coro (tree orig, tree *resumer, tree *destroyer) | ||
4119 | 4119 | else if (!grooaf && TYPE_NOTHROW_P (TREE_TYPE (func))) |
4120 | 4120 | warning_at (fn_start, 0, "%qE is marked %<throw()%> or %<noexcept%> but" |
4121 | 4121 | " no usable %<get_return_object_on_allocation_failure%>" |
4122 | - " is provided by %qT ", nwname, promise_type); | |
4122 | + " is provided by %qT", nwname, promise_type); | |
4123 | 4123 | } |
4124 | 4124 | else /* No operator new in the promise. */ |
4125 | 4125 | { |