https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83698
Bug ID: 83698
Summary: [8 Regression] -Wrestrict oddities
Product: gcc
Version: 8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: trippels at gcc dot gnu.org
CC: msebor at gcc dot gnu.org
Target Milestone: ---
1)
warning: ‘__builtin_strcat’ accessing 0 or more bytes at offsets 36 and 20 may
overlap 1 byte at offset [36, -9223372036854775773] [-Wrestrict]
???
2)
warning: ‘__builtin_memcpy’ accessing 32 bytes at offsets 0 and 0 overlaps 32
bytes at offset 0 [-Wrestrict]
"offsets 0 and 0" looks redundant. "offset 0" would be better.