From 6ce76052aeaa3370243909b62c87bfdcb243b885 Mon Sep 17 00:00:00 2001 From: Iain Sandoe Date: Wed, 3 Sep 2025 15:33:21 +0100 Subject: 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 --- gcc/testsuite/gcc.dg/scantest-lto.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gcc') diff --git a/gcc/testsuite/gcc.dg/scantest-lto.c b/gcc/testsuite/gcc.dg/scantest-lto.c index 46c21f2..9a6e816 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 () { -- cgit v1.1