public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/99276] New: grammar in diagnostics for overflowing the destination
@ 2021-02-25 22:23 roland.illig at gmx dot de
  2021-03-01 20:33 ` [Bug c/99276] " msebor at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: roland.illig at gmx dot de @ 2021-02-25 22:23 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99276

            Bug ID: 99276
           Summary: grammar in diagnostics for overflowing the destination
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: roland.illig at gmx dot de
  Target Milestone: ---

builtins.c says:
> "%K%qD may write %E or more bytes "
> "into a region of size %E "
> "the destination"

The word 'overflowing' is missing here.

These diagnostics come in pairs:
- writing ... overflows the destination
- may write ...

So my initial guess was wrong. It's not that the word 'overflowing' is missing
here, instead 'the destination' should be removed from the diagnostic, as in
the other diagnostics nearby.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-03-02 20:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-25 22:23 [Bug c/99276] New: grammar in diagnostics for overflowing the destination roland.illig at gmx dot de
2021-03-01 20:33 ` [Bug c/99276] " msebor at gcc dot gnu.org
2021-03-01 20:34 ` msebor at gcc dot gnu.org
2021-03-02 20:40 ` cvs-commit at gcc dot gnu.org
2021-03-02 20:41 ` [Bug middle-end/99276] " msebor at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).