aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorIain Sandoe <iain@sandoe.co.uk>2025-09-03 15:33:21 +0100
committerIain Sandoe <iain@sandoe.co.uk>2025-09-04 07:36:55 +0100
commit6ce76052aeaa3370243909b62c87bfdcb243b885 (patch)
treeabbc5903c93e5bb9a4cb98065dfe4828ad5cafd5 /gcc
parenta803d5b9cd37bb5440e96ee61c2db7d5b990ed53 (diff)
downloadgcc-6ce76052aeaa3370243909b62c87bfdcb243b885.zip
gcc-6ce76052aeaa3370243909b62c87bfdcb243b885.tar.gz
gcc-6ce76052aeaa3370243909b62c87bfdcb243b885.tar.bz2
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 <iain@sandoe.co.uk>
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/gcc.dg/scantest-lto.c1
1 files changed, 1 insertions, 0 deletions
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 ()
{