[gcc r11-7460] PR middle-end/99276 - grammar in diagnostics for overflowing the destination
Martin Sebor
msebor@gcc.gnu.org
Tue Mar 2 20:40:20 GMT 2021
https://gcc.gnu.org/g:e7ca37649e4f322e7512c6d11813992c61b0a4b3
commit r11-7460-ge7ca37649e4f322e7512c6d11813992c61b0a4b3
Author: Martin Sebor <msebor@redhat.com>
Date: Tue Mar 2 13:37:01 2021 -0700
PR middle-end/99276 - grammar in diagnostics for overflowing the destination
gcc/ChangeLog:
PR middle-end/99276
* builtins.c (warn_for_access): Remove stray warning text.
Diff:
---
gcc/builtins.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/gcc/builtins.c b/gcc/builtins.c
index 18be93c0f3b..da6dac8048e 100644
--- a/gcc/builtins.c
+++ b/gcc/builtins.c
@@ -4237,8 +4237,7 @@ warn_for_access (location_t loc, tree func, tree exp, int opt, tree range[2],
? warning_at (loc, opt,
(maybe
? G_("%K%qD may write %E or more bytes "
- "into a region of size %E "
- "the destination")
+ "into a region of size %E")
: G_("%K%qD writing %E or more bytes "
"into a region of size %E overflows "
"the destination")),
More information about the Gcc-cvs
mailing list