From 36911e9d06cc161bac2716877320a62f8a4dd01c Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Sun, 18 Jun 2023 22:39:59 +0200 Subject: [PATCH] Silence warning in gcc.dg/lto/20091013-1_0.c gcc/testsuite/ChangeLog: * gcc.dg/lto/20091013-1_0.c: Disable stringop-overread warning. --- gcc/testsuite/gcc.dg/lto/20091013-1_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.47.2