From: Francois-Xavier Coudert Date: Sun, 20 Aug 2023 10:17:50 +0000 (+0200) Subject: Testsuite, LTO: silence warning to make test pass on Darwin X-Git-Tag: basepoints/gcc-15~6790 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b9426543e8d3b9333d1561844472c3f568fa6913;p=thirdparty%2Fgcc.git Testsuite, LTO: silence warning to make test pass on Darwin gcc/testsuite/ChangeLog: * gcc.dg/lto/20091013-1_2.c: Add -Wno-stringop-overread. --- diff --git a/gcc/testsuite/gcc.dg/lto/20091013-1_2.c b/gcc/testsuite/gcc.dg/lto/20091013-1_2.c index 1af49aa97b6e..89caea868e6e 100644 --- a/gcc/testsuite/gcc.dg/lto/20091013-1_2.c +++ b/gcc/testsuite/gcc.dg/lto/20091013-1_2.c @@ -1,3 +1,5 @@ +/* { dg-options "-Wno-stringop-overread" } */ + typedef struct HDC__ { int unused; } *HDC; typedef struct HFONT__ { int unused; } *HFONT;