From: Jan Hubicka Date: Sun, 18 Jun 2023 20:39:59 +0000 (+0200) Subject: Silence warning in gcc.dg/lto/20091013-1_0.c X-Git-Tag: basepoints/gcc-15~8226 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=36911e9d06cc161bac2716877320a62f8a4dd01c;p=thirdparty%2Fgcc.git Silence warning in gcc.dg/lto/20091013-1_0.c gcc/testsuite/ChangeLog: * gcc.dg/lto/20091013-1_0.c: Disable stringop-overread warning. --- diff --git a/gcc/testsuite/gcc.dg/lto/20091013-1_0.c b/gcc/testsuite/gcc.dg/lto/20091013-1_0.c index afceb2436cd2..7737e252b991 100644 --- a/gcc/testsuite/gcc.dg/lto/20091013-1_0.c +++ b/gcc/testsuite/gcc.dg/lto/20091013-1_0.c @@ -2,7 +2,7 @@ /* { dg-require-effective-target fpic } */ /* { dg-require-effective-target ptr_eq_long } */ /* { dg-lto-options {{-fPIC -r -nostdlib -flto} {-fPIC -r -nostdlib -O2 -flto}} } */ -/* { dg-extra-ld-options "-flinker-output=nolto-rel" } */ +/* { dg-extra-ld-options "-flinker-output=nolto-rel -Wno-stringop-overread" } */ void * HeapAlloc(void*,unsigned int,unsigned long);