From: Iain Sandoe Date: Wed, 3 Sep 2025 14:33:21 +0000 (+0100) Subject: testsuite, darwin: Suppress unwind frames in scantest-lto.c. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ce76052aeaa3370243909b62c87bfdcb243b885;p=thirdparty%2Fgcc.git testsuite, darwin: Suppress unwind frames in scantest-lto.c. Currently, for Darwin unwind and EH frames are emitted without use of .cfi_xxx instructions; the emitted frames also contain the string 'ascii'. For the purpose of this test, omit them. PR testsuite/112728 gcc/testsuite/ChangeLog: * gcc.dg/scantest-lto.c: Omit unwind frames. Signed-off-by: Iain Sandoe --- diff --git a/gcc/testsuite/gcc.dg/scantest-lto.c b/gcc/testsuite/gcc.dg/scantest-lto.c index 46c21f20bfc..9a6e816b1ff 100644 --- a/gcc/testsuite/gcc.dg/scantest-lto.c +++ b/gcc/testsuite/gcc.dg/scantest-lto.c @@ -1,5 +1,6 @@ /* { dg-do compile { target lto } } /* { dg-options "-O2 -flto" } */ +/* { dg-additional-options "-fno-unwind-tables -fno-asynchronous-unwind-tables" { target *-*-darwin* } } */ void foo () {