Summary: | [10 Regression] bogus warning: writing 8 bytes into a region of size 1 in timezone/zic.c | ||
---|---|---|---|
Product: | gcc | Reporter: | Martin Sebor <msebor> |
Component: | middle-end | Assignee: | Martin Sebor <msebor> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | diagnostic, patch |
Priority: | P3 | ||
Version: | 9.0 | ||
Target Milestone: | 10.0 | ||
Host: | Target: | ||
Build: | Known to work: | ||
Known to fail: | Last reconfirmed: | 2019-10-07 00:00:00 | |
Bug Depends on: | |||
Bug Blocks: | 88443 |
Description
Martin Sebor
2019-10-07 17:13:47 UTC
Author: msebor Date: Tue Oct 8 19:48:27 2019 New Revision: 276711 URL: https://gcc.gnu.org/viewcvs?rev=276711&root=gcc&view=rev Log: PR middle-end/92026 - gcc.dg/Wstringop-overflow-18.c FAIL PR middle-end/92014 - bogus warning: writing 8 bytes into a region of size 1 in timezone/zic.c gcc/ChangeLog: * tree-ssa-strlen.c (count_nonzero_bytes): Avoid recursing for MEM_REF again once nbytes has been set. Set the access size when not yet set. gcc/testsuite/ChangeLog: PR middle-end/92014 * gcc.dg/Wstringop-overflow-19.c: New test. Added: trunk/gcc/testsuite/gcc.dg/Wstringop-overflow-19.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-ssa-strlen.c |