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
* [Bug c/99276] grammar in diagnostics for overflowing the destination 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 ` msebor at gcc dot gnu.org 2021-03-01 20:34 ` msebor at gcc dot gnu.org ` (2 subsequent siblings) 3 siblings, 0 replies; 5+ messages in thread From: msebor at gcc dot gnu.org @ 2021-03-01 20:33 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99276 Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2021-03-01 Ever confirmed|0 |1 --- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> --- Confirmed. ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c/99276] grammar in diagnostics for overflowing the destination 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 3 siblings, 0 replies; 5+ messages in thread From: msebor at gcc dot gnu.org @ 2021-03-01 20:34 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99276 Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot gnu.org Status|NEW |ASSIGNED ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c/99276] grammar in diagnostics for overflowing the destination 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 3 siblings, 0 replies; 5+ messages in thread From: cvs-commit at gcc dot gnu.org @ 2021-03-02 20:40 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99276 --- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Martin Sebor <msebor@gcc.gnu.org>: https://gcc.gnu.org/g:e7ca37649e4f322e7512c6d11813992c61b0a4b3 commit r11-7460-ge7ca37649e4f322e7512c6d11813992c61b0a4b3 Author: Martin Sebor <msebor@redhat.com> Date: Tue Mar 2 13:37:01 2021 -0700 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. ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug middle-end/99276] grammar in diagnostics for overflowing the destination 2021-02-25 22:23 [Bug c/99276] New: grammar in diagnostics for overflowing the destination roland.illig at gmx dot de ` (2 preceding siblings ...) 2021-03-02 20:40 ` cvs-commit at gcc dot gnu.org @ 2021-03-02 20:41 ` msebor at gcc dot gnu.org 3 siblings, 0 replies; 5+ messages in thread From: msebor at gcc dot gnu.org @ 2021-03-02 20:41 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99276 Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|c |middle-end Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #3 from Martin Sebor <msebor at gcc dot gnu.org> --- Fixed. ^ 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).