[Bug middle-end/92814] missing -Wstringop-overflow writing into a dynamically allocated flexible array member
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92814 Martin Sebor 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 --- Fixed in r11-1517.
[Bug middle-end/92814] missing -Wstringop-overflow writing into a dynamically allocated flexible array member
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92814 --- Comment #1 from CVS Commits --- The master branch has been updated by Martin Sebor : https://gcc.gnu.org/g:5acc654e380797bbf402bc3a0a67f9a6ac4c2a83 commit r11-1517-g5acc654e380797bbf402bc3a0a67f9a6ac4c2a83 Author: Martin Sebor 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.
[Bug middle-end/92814] missing -Wstringop-overflow writing into a dynamically allocated flexible array member
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92814 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed||2020-01-30 CC||marxin at gcc dot gnu.org Ever confirmed|0 |1