]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Silence warning in gcc.dg/lto/20091013-1_0.c
authorJan Hubicka <jh@suse.cz>
Sun, 18 Jun 2023 20:39:59 +0000 (22:39 +0200)
committerJan Hubicka <jh@suse.cz>
Sun, 18 Jun 2023 20:39:59 +0000 (22:39 +0200)
gcc/testsuite/ChangeLog:

* gcc.dg/lto/20091013-1_0.c: Disable stringop-overread warning.

gcc/testsuite/gcc.dg/lto/20091013-1_0.c

index afceb2436cd202945ef0f74947eaa3512d209e6d..7737e252b991d4438811f076686c8c6efb7ab54d 100644 (file)
@@ -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);