aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2023-06-18 22:39:59 +0200
committerJan Hubicka <jh@suse.cz>2023-06-18 22:39:59 +0200
commit36911e9d06cc161bac2716877320a62f8a4dd01c (patch)
treeca0d39a49e0970bc30e17f647f9d9d737f80ea0c /gcc
parent220af5576405de4f8187d150d8403eea706316cc (diff)
downloadgcc-36911e9d06cc161bac2716877320a62f8a4dd01c.zip
gcc-36911e9d06cc161bac2716877320a62f8a4dd01c.tar.gz
gcc-36911e9d06cc161bac2716877320a62f8a4dd01c.tar.bz2
Silence warning in gcc.dg/lto/20091013-1_0.c
gcc/testsuite/ChangeLog: * gcc.dg/lto/20091013-1_0.c: Disable stringop-overread warning.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/gcc.dg/lto/20091013-1_0.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/lto/20091013-1_0.c b/gcc/testsuite/gcc.dg/lto/20091013-1_0.c
index afceb24..7737e25 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);