PR middle-end/99276 - grammar in diagnostics for overflowing the destination
authorMartin Sebor <msebor@redhat.com>
Tue, 2 Mar 2021 20:37:01 +0000 (13:37 -0700)
committerMartin 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

index 18be93c..da6dac8 100644 (file)
@@ -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")),