diff options
author | Martin Sebor <msebor@redhat.com> | 2021-03-02 13:37:01 -0700 |
---|---|---|
committer | Martin Sebor <msebor@redhat.com> | 2021-03-02 13:37:01 -0700 |
commit | e7ca37649e4f322e7512c6d11813992c61b0a4b3 (patch) | |
tree | f2535a839c6b96a926ebc2444bc97d5a4b6c5f4a /gcc | |
parent | 397ed1dbffe6c4a48548b601b35699e571e200a3 (diff) | |
download | gcc-e7ca37649e4f322e7512c6d11813992c61b0a4b3.zip gcc-e7ca37649e4f322e7512c6d11813992c61b0a4b3.tar.gz gcc-e7ca37649e4f322e7512c6d11813992c61b0a4b3.tar.bz2 |
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.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/builtins.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/builtins.c b/gcc/builtins.c index 18be93c..da6dac8 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")), |