This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/84095] [8 Regression] false-positive -Wrestrict warnings for memcpy within array
- From: "msebor at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 30 Jan 2018 22:37:30 +0000
- Subject: [Bug middle-end/84095] [8 Regression] false-positive -Wrestrict warnings for memcpy within array
- Auto-submitted: auto-generated
- References: <bug-84095-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84095
--- Comment #10 from Martin Sebor <msebor at gcc dot gnu.org> ---
Created attachment 43299
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43299&action=edit
Patch under test.
I think that false positive is already being tracked in bug 83456. Let me add
the test case to it.
I'm testing the attached patch (it's an aggregate of the one posted here and
the one posted for bug 83698 which is still waiting to be approved).
Until I've verified the patch please add new test cases here and I'll triage
them.