public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/92814] missing -Wstringop-overflow writing into a dynamically allocated flexible array member
[not found] <bug-92814-4@http.gcc.gnu.org/bugzilla/>
@ 2020-06-18 18:02 ` cvs-commit at gcc dot gnu.org
2020-06-18 20:35 ` msebor at gcc dot gnu.org
1 sibling, 0 replies; 2+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-06-18 18:02 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92814
--- Comment #1 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:5acc654e380797bbf402bc3a0a67f9a6ac4c2a83
commit r11-1517-g5acc654e380797bbf402bc3a0a67f9a6ac4c2a83
Author: Martin Sebor <msebor@redhat.com>
Date: Thu Jun 18 12:00:36 2020 -0600
Avoid warning for memset writing over multiple members.
Resolves:
PR middle-end/95667 - unintended warning for memset writing across multiple
members
PR middle-end/92814 - missing -Wstringop-overflow writing into a
dynamically allocated flexible array member
gcc/ChangeLog:
PR middle-end/95667
PR middle-end/92814
* builtins.c (compute_objsize): Remove call to
compute_builtin_object_size and instead compute conservative sizes
directly here.
gcc/testsuite/ChangeLog:
PR middle-end/95667
PR middle-end/92814
* gcc.dg/Wstringop-overflow-25.c: Remove xfails.
* gcc.dg/Wstringop-overflow-39.c: New test.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug middle-end/92814] missing -Wstringop-overflow writing into a dynamically allocated flexible array member
[not found] <bug-92814-4@http.gcc.gnu.org/bugzilla/>
2020-06-18 18:02 ` [Bug middle-end/92814] missing -Wstringop-overflow writing into a dynamically allocated flexible array member cvs-commit at gcc dot gnu.org
@ 2020-06-18 20:35 ` msebor at gcc dot gnu.org
1 sibling, 0 replies; 2+ messages in thread
From: msebor at gcc dot gnu.org @ 2020-06-18 20:35 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92814
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
Resolution|--- |FIXED
Status|NEW |RESOLVED
Target Milestone|--- |11.0
Known to fail| |10.1.0
--- Comment #2 from Martin Sebor <msebor at gcc dot gnu.org> ---
Fixed in r11-1517.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-06-18 20:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-92814-4@http.gcc.gnu.org/bugzilla/>
2020-06-18 18:02 ` [Bug middle-end/92814] missing -Wstringop-overflow writing into a dynamically allocated flexible array member cvs-commit at gcc dot gnu.org
2020-06-18 20:35 ` 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).