[Bug tree-optimization/85753] missing -Wrestrict on memcpy into a member array
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85753 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Version|8.0 |8.1.1 Resolution|--- |FIXED --- Comment #3 from Martin Sebor --- Fixed by r260280.
[Bug tree-optimization/85753] missing -Wrestrict on memcpy into a member array
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85753 --- Comment #2 from Martin Sebor --- Author: msebor Date: Wed May 16 02:30:38 2018 New Revision: 260280 URL: https://gcc.gnu.org/viewcvs?rev=260280=gcc=rev Log: PR tree-optimization/85753 - missing -Wrestrict on memcpy into a member array gcc/ChangeLog: PR tree-optimization/85753 * gimple-ssa-warn-restrict.c (builtin_memref::builtin_memref): Handle RECORD_TYPE in addition to ARRAY_TYPE. gcc/testsuite/ChangeLog: PR tree-optimization/85753 * gcc.dg/Wrestrict-10.c: Adjust. * gcc.dg/Wrestrict-16.c: New test. Added: trunk/gcc/testsuite/gcc.dg/Wrestrict-16.c Modified: trunk/gcc/ChangeLog trunk/gcc/gimple-ssa-warn-restrict.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gcc.dg/Wrestrict-10.c
[Bug tree-optimization/85753] missing -Wrestrict on memcpy into a member array
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85753 Martin Sebor changed: What|Removed |Added Keywords||patch Status|UNCONFIRMED |ASSIGNED Last reconfirmed||2018-05-11 Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Martin Sebor --- Patch: https://gcc.gnu.org/ml/gcc-patches/2018-05/msg00576.html