diff options
author | Iain Sandoe <iain@sandoe.co.uk> | 2024-05-05 14:13:37 +0100 |
---|---|---|
committer | Iain Sandoe <iain@sandoe.co.uk> | 2024-05-19 14:28:02 +0100 |
commit | 0aa709ff9d4ca2f9794c4072d81bb68d784dd86c (patch) | |
tree | e31125f3f8f64a279217094e8d823de9445626af | |
parent | 3db8dd4139a7a5ce941684f1fc05ee0652e35544 (diff) | |
download | gcc-0aa709ff9d4ca2f9794c4072d81bb68d784dd86c.zip gcc-0aa709ff9d4ca2f9794c4072d81bb68d784dd86c.tar.gz gcc-0aa709ff9d4ca2f9794c4072d81bb68d784dd86c.tar.bz2 |
testsuite, darwin: Compile a test without unwind frames.
In the current Darwin implementation, we do not use .cfi_ insns
and emitted EH frames contain 'coalesced' section designations
which interfere with the scan asm.
gcc/testsuite/ChangeLog:
* gcc.dg/darwin-weakimport-3.c: Suppress unwind frames.
Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
-rw-r--r-- | gcc/testsuite/gcc.dg/darwin-weakimport-3.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.dg/darwin-weakimport-3.c b/gcc/testsuite/gcc.dg/darwin-weakimport-3.c index a15b5b0..7e83987 100644 --- a/gcc/testsuite/gcc.dg/darwin-weakimport-3.c +++ b/gcc/testsuite/gcc.dg/darwin-weakimport-3.c @@ -10,11 +10,12 @@ With modern linkers this is moot, since even weak symbols are emitted into the regular sections. - To avoid the unwind tables -fno-asynchronous-unwind-tables. + To avoid the unwind tables -fno-asynchronous-unwind-tables + and fno-unwind-tables (since EH contains coalesced data). To ensure that we emit code for an older linker -mtarget-linker To avoid the get_pc thunk optimise at least O1. */ -/* { dg-options "-fno-asynchronous-unwind-tables -O1 -mtarget-linker 85.2" } */ +/* { dg-options "-fno-asynchronous-unwind-tables -fno-unwind-tables -O1 -mtarget-linker 85.2" } */ /* { dg-require-weak "" } */ /* { dg-final { scan-assembler-not "coalesced" } } */ |