]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite, i386: fix split-stack test
authorFrancois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Sun, 26 Nov 2023 10:48:33 +0000 (11:48 +0100)
committerFrancois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Sun, 26 Nov 2023 10:48:33 +0000 (11:48 +0100)
The new test at gcc.target/i386/pr112686.c fails on darwin with:

Excess errors:
cc1: error: '-fsplit-stack' currently only supported on GNU/Linux
cc1: error: '-fsplit-stack' is not supported by this compiler configuration

gcc/testsuite/ChangeLog:

* gcc.target/i386/pr112686.c: Add a requirement for split_stack.

gcc/testsuite/gcc.target/i386/pr112686.c

index 858e91ba727f5d90acf3dd9969bd83aa699b8d55..4f452d9bdd9c82f4ab4d11d63057f197a427350c 100644 (file)
@@ -1,5 +1,6 @@
 /* PR target/112686 */
 /* { dg-do compile { target lp64 } } */
+/* { dg-require-effective-target split_stack } */
 /* { dg-options "-fsplit-stack -mcmodel=large" } */
 
 void foo (void) {}