aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@linaro.org>2020-08-31 09:59:24 +0000
committerChristophe Lyon <christophe.lyon@linaro.org>2020-08-31 10:42:12 +0000
commit371fa005aeb5c84586fc3dcd37bbfd4d9215b7bb (patch)
treeaff2e0527c5580b9087212f6006b01cc90c9ec25
parent1aa71af09350b9ff4d2fad88a440b682545682ec (diff)
downloadgcc-371fa005aeb5c84586fc3dcd37bbfd4d9215b7bb.zip
gcc-371fa005aeb5c84586fc3dcd37bbfd4d9215b7bb.tar.gz
gcc-371fa005aeb5c84586fc3dcd37bbfd4d9215b7bb.tar.bz2
testsuite: Fix aarch64/strcmpopt_6.c for -Wstringop-overread
2020-08-31 Christophe Lyon <christophe.lyon@linaro.org> gcc/testsuite/ * gcc.target/aarch64/strcmpopt_6.c: Suppress -Wstringop-overread.
-rw-r--r--gcc/testsuite/gcc.target/aarch64/strcmpopt_6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.target/aarch64/strcmpopt_6.c b/gcc/testsuite/gcc.target/aarch64/strcmpopt_6.c
index 4c6de02..505c13e 100644
--- a/gcc/testsuite/gcc.target/aarch64/strcmpopt_6.c
+++ b/gcc/testsuite/gcc.target/aarch64/strcmpopt_6.c
@@ -1,7 +1,7 @@
/* When the specified length exceeds one of the arguments of the call to memcmp,
the call to memcmp should NOT be inlined. */
/* { dg-do compile } */
-/* { dg-options "-O2 -Wno-stringop-overflow" } */
+/* { dg-options "-O2 -Wno-stringop-overread" } */
typedef struct { char s[8]; int x; } S;