This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH, ARM] Skip gcc.dg/torture/stackalign/builtin-apply-2.c for ARM hard-float ABI
- From: Julian Brown <julian at codesourcery dot com>
- To: <gcc-patches at gcc dot gnu dot org>, <ramana dot radhakrishnan at linaro dot org>, <rearnsha at arm dot com>
- Date: Mon, 23 Jul 2012 13:17:06 +0100
- Subject: [PATCH, ARM] Skip gcc.dg/torture/stackalign/builtin-apply-2.c for ARM hard-float ABI
Hi,
The test case gcc.dg/torture/stackalign/builtin-apply-2.c makes
assumptions which cannot be met for __builtin_apply for the ARM
hard-float ABI variant. This patch simply skips the test in that case.
Tested (stackalign.exp only) for ARMv4t -marm/-mthumb/-mfloat-abi=hard.
The previously-failing test gets skipped as expected with the patch.
(This is another one that we've had locally for a while.)
OK to apply?
Julian
ChangeLog
gcc/testsuite/
* gcc.dg/torture/stackalign/builtin-apply-2.c: Skip for
hard-float ARM.
Index: gcc/testsuite/gcc.dg/torture/stackalign/builtin-apply-2.c
===================================================================
--- gcc/testsuite/gcc.dg/torture/stackalign/builtin-apply-2.c (revision 189779)
+++ gcc/testsuite/gcc.dg/torture/stackalign/builtin-apply-2.c (working copy)
@@ -5,6 +5,8 @@
with pre-pushed arguments (e.g. SPARC). */
/* { dg-do run } */
+
+/* { dg-skip-if "Variadic funcs use Base AAPCS. Normal funcs use VFP variant." { "arm*-*-*" } { "-mfloat-abi=hard" } { "" } } */
#define INTEGER_ARG 5