projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
397ed1d
)
PR middle-end/99276 - grammar in diagnostics for overflowing the destination
author
Martin Sebor
<msebor@redhat.com>
Tue, 2 Mar 2021 20:37:01 +0000
(13:37 -0700)
committer
Martin Sebor
<msebor@redhat.com>
Tue, 2 Mar 2021 20:37:01 +0000
(13:37 -0700)
gcc/ChangeLog:
PR middle-end/99276
* builtins.c (warn_for_access): Remove stray warning text.
gcc/builtins.c
patch
|
blob
|
history
diff --git
a/gcc/builtins.c
b/gcc/builtins.c
index
18be93c
..
da6dac8
100644
(file)
--- 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")),