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.

Reply via email to