]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Testsuite, LTO: silence warning to make test pass on Darwin
authorFrancois-Xavier Coudert <fxcoudert@gmail.com>
Sun, 20 Aug 2023 10:17:50 +0000 (12:17 +0200)
committerIain Sandoe <iain@sandoe.co.uk>
Thu, 4 Apr 2024 18:34:22 +0000 (19:34 +0100)
gcc/testsuite/ChangeLog:

* gcc.dg/lto/20091013-1_2.c: Add -Wno-stringop-overread.

(cherry picked from commit b9426543e8d3b9333d1561844472c3f568fa6913)

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

index 1af49aa97b6e663dce9ad43d010192e481dc7858..89caea868e6ed51544c1ce095add25a9ec409a3e 100644 (file)
@@ -1,3 +1,5 @@
+/* { dg-options "-Wno-stringop-overread" } */
+
 typedef struct HDC__ { int unused; } *HDC;
 typedef struct HFONT__ { int unused; } *HFONT;