loongarch: testsuite: skip builtin-apply2.c
authorXi Ruoyao <xry111@mengyan1223.wang>
Fri, 8 Apr 2022 17:37:37 +0000 (01:37 +0800)
committerXi Ruoyao <xry111@mengyan1223.wang>
Sat, 9 Apr 2022 11:41:53 +0000 (19:41 +0800)
commit6e345078624ab4f872dca29e92f83682f94369f8
tree69b08b97d99bf19161bf2ad5635fb7da5475b605
parent4822108e61ab879067482704f2f7d1670813d61a
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*-*-*.
gcc/testsuite/gcc.dg/builtin-apply2.c