re PR other/83508 ([arm] c-c++-common/Wrestrict.c fails since r255836)
authorMartin Sebor <msebor@redhat.com>
Mon, 15 Jan 2018 06:15:09 +0000 (06:15 +0000)
committerJeff Law <law@gcc.gnu.org>
Mon, 15 Jan 2018 06:15:09 +0000 (23:15 -0700)
commite0676e2e718a28b2eeb1ef483653edd3b026a470
tree8117ca4de8a5784615f5ca706e5dc3c2b6b10004
parent5804f6271247b02199abdd62a89c0c2bf807b656
re PR other/83508 ([arm] c-c++-common/Wrestrict.c fails since r255836)

PR other/83508
* builtins.c (check_access): Avoid warning when the no-warning bit
is set.

PR other/83508
* gcc.dg/Wstringop-overflow-2.c: New test.

From-SVN: r256683
gcc/ChangeLog
gcc/builtins.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/Wstringop-overflow-2.c [new file with mode: 0644]