[gcc r14-1913] Silence warning in gcc.dg/lto/20091013-1_0.c
Jan Hubicka
hubicka@gcc.gnu.org
Sun Jun 18 20:40:19 GMT 2023
https://gcc.gnu.org/g:36911e9d06cc161bac2716877320a62f8a4dd01c
commit r14-1913-g36911e9d06cc161bac2716877320a62f8a4dd01c
Author: Jan Hubicka <jh@suse.cz>
Date: Sun Jun 18 22:39:59 2023 +0200
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:
---
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 afceb2436cd..7737e252b99 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);
More information about the Gcc-cvs
mailing list