aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@mengyan1223.wang>2022-04-09 01:37:37 +0800
committerXi Ruoyao <xry111@mengyan1223.wang>2022-04-09 19:41:53 +0800
commit6e345078624ab4f872dca29e92f83682f94369f8 (patch)
tree69b08b97d99bf19161bf2ad5635fb7da5475b605
parent4822108e61ab879067482704f2f7d1670813d61a (diff)
downloadgcc-6e345078624ab4f872dca29e92f83682f94369f8.zip
gcc-6e345078624ab4f872dca29e92f83682f94369f8.tar.gz
gcc-6e345078624ab4f872dca29e92f83682f94369f8.tar.bz2
loongarch: testsuite: skip builtin-apply2.c
On LoongArch, variadic functions use different arugment passing conventions so this test is not valid (see the section named "Variadic argument" in the [ELF ABI][1]) and should be skipped. [1]: https://loongson.github.io/LoongArch-Documentation/LoongArch-ELF-ABI-EN.html gcc/testsuite/ * gcc.dg/builtin-apply2.c (dg-skip-if): Add loongarch*-*-*.
-rw-r--r--gcc/testsuite/gcc.dg/builtin-apply2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/builtin-apply2.c b/gcc/testsuite/gcc.dg/builtin-apply2.c
index 9049af5..0f350f4 100644
--- a/gcc/testsuite/gcc.dg/builtin-apply2.c
+++ b/gcc/testsuite/gcc.dg/builtin-apply2.c
@@ -1,7 +1,7 @@
/* { dg-do run } */
/* { dg-require-effective-target untyped_assembly } */
/* { dg-skip-if "Variadic funcs have all args on stack. Normal funcs have args in registers." { "avr-*-* nds32*-*-* amdgcn-*-*" } } */
-/* { dg-skip-if "Variadic funcs use different argument passing from normal funcs." { "csky*-*-* riscv*-*-* or1k*-*-* msp430-*-* pru-*-*" } } */
+/* { dg-skip-if "Variadic funcs use different argument passing from normal funcs." { "csky*-*-* riscv*-*-* or1k*-*-* msp430-*-* pru-*-* loongarch*-*-*" } } */
/* { dg-skip-if "Variadic funcs use Base AAPCS. Normal funcs use VFP variant." { arm*-*-* && arm_hf_eabi } } */
/* PR target/12503 */