[committed] avoid -Wrestrict on structs copies with unknown offset and constant size (PR 86196)
Martin Sebor
msebor@gmail.com
Tue Dec 11 01:23:00 GMT 2018
A fix for pr85753 I committed back in may introduced a subtle
logic error that cause false positives for copies involving
unknown offsets into non-array objects. The attached patch
corrects this mistake. I have committed it as obvious in
r266967 after verifying it on x86_64-linux. The committed patch
is attached.
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcc-86196.diff
Type: text/x-patch
Size: 2594 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20181211/6a5bded4/attachment.bin>
More information about the Gcc-patches
mailing list