]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite, darwin: Suppress unwind frames in scantest-lto.c.
authorIain Sandoe <iain@sandoe.co.uk>
Wed, 3 Sep 2025 14:33:21 +0000 (15:33 +0100)
committerIain Sandoe <iain@sandoe.co.uk>
Thu, 4 Sep 2025 06:36:55 +0000 (07:36 +0100)
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 <iain@sandoe.co.uk>
gcc/testsuite/gcc.dg/scantest-lto.c

index 46c21f20bfc9c521a3641efe0739db1b63183490..9a6e816b1ffc3df71ec41d0191c8aa91b96a786e 100644 (file)
@@ -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 ()
 {