[pushed] testsuite, X86, Darwin: Skip a test for mcmodel=large.

Message ID 20231029071446.55738-1-iain@sandoe.co.uk
State Unresolved
Headers
Series [pushed] testsuite, X86, Darwin: Skip a test for mcmodel=large. |

Checks

Context Check Description
snail/gcc-patch-check warning Git am fail log

Commit Message

Iain Sandoe Oct. 29, 2023, 7:14 a.m. UTC
  Tested on x86_64-darwin, pushed to trunk, thanks
Iain

--- 8< ---

The large model is not implemented so far for Darwin (and the
codegen will be different when it is).

gcc/testsuite/ChangeLog:

	* gcc.target/i386/large-data.c: Skip for Darwin.

Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
---
 gcc/testsuite/gcc.target/i386/large-data.c | 1 +
 1 file changed, 1 insertion(+)
  

Patch

diff --git a/gcc/testsuite/gcc.target/i386/large-data.c b/gcc/testsuite/gcc.target/i386/large-data.c
index bdd4acd30b8..164b38bdf67 100644
--- a/gcc/testsuite/gcc.target/i386/large-data.c
+++ b/gcc/testsuite/gcc.target/i386/large-data.c
@@ -1,6 +1,7 @@ 
 /* { dg-do compile } */
 /* { dg-require-effective-target lp64 } */
 /* { dg-options "-O2 -mcmodel=large -mlarge-data-threshold=4" } */
+/* { dg-skip-if "PR90698" "*-*-darwin*" } */
 /* { dg-final { scan-assembler {\.lbss} } } */
 /* { dg-final { scan-assembler {\.bss} } } */
 /* { dg-final { scan-assembler {\.ldata} } } */