From: Christophe Lyon Date: Mon, 31 Aug 2020 09:59:24 +0000 (+0000) Subject: testsuite: Fix aarch64/strcmpopt_6.c for -Wstringop-overread X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=371fa005aeb5c84586fc3dcd37bbfd4d9215b7bb;p=gcc.git testsuite: Fix aarch64/strcmpopt_6.c for -Wstringop-overread 2020-08-31 Christophe Lyon gcc/testsuite/ * gcc.target/aarch64/strcmpopt_6.c: Suppress -Wstringop-overread. --- diff --git a/gcc/testsuite/gcc.target/aarch64/strcmpopt_6.c b/gcc/testsuite/gcc.target/aarch64/strcmpopt_6.c index 4c6de02824f..505c13e5c11 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;