diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/strncpy-fix-1.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/strncpy-fix-1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/strncpy-fix-1.c b/gcc/testsuite/gcc.dg/strncpy-fix-1.c index b8bc916e008..b4fd4aa4877 100644 --- a/gcc/testsuite/gcc.dg/strncpy-fix-1.c +++ b/gcc/testsuite/gcc.dg/strncpy-fix-1.c @@ -1,7 +1,7 @@ /* Test that use of strncpy does not result in a "value computed is not used" warning. */ /* { dg-do compile } */ -/* { dg-options "-O2 -Wall" } */ +/* { dg-options "-O2 -Wall -Wno-stringop-truncation" } */ #include <string.h> void |