https://gcc.gnu.org/g:6ce76052aeaa3370243909b62c87bfdcb243b885

commit r16-3557-g6ce76052aeaa3370243909b62c87bfdcb243b885
Author: Iain Sandoe <i...@sandoe.co.uk>
Date:   Wed Sep 3 15:33:21 2025 +0100

    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 <i...@sandoe.co.uk>

Diff:
---
 gcc/testsuite/gcc.dg/scantest-lto.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gcc/testsuite/gcc.dg/scantest-lto.c 
b/gcc/testsuite/gcc.dg/scantest-lto.c
index 46c21f20bfc9..9a6e816b1ffc 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 ()
 {

Reply via email to