https://gcc.gnu.org/g:0d761f903da03b3537522b02ef70127e347b797b
commit r13-8581-g0d761f903da03b3537522b02ef70127e347b797b Author: Francois-Xavier Coudert <fxcoud...@gmail.com> Date: Sun Aug 20 12:17:50 2023 +0200 Testsuite, LTO: silence warning to make test pass on Darwin gcc/testsuite/ChangeLog: * gcc.dg/lto/20091013-1_2.c: Add -Wno-stringop-overread. (cherry picked from commit b9426543e8d3b9333d1561844472c3f568fa6913) Diff: --- gcc/testsuite/gcc.dg/lto/20091013-1_2.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gcc/testsuite/gcc.dg/lto/20091013-1_2.c b/gcc/testsuite/gcc.dg/lto/20091013-1_2.c index 1af49aa97b6..89caea868e6 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;