This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Skip gcc.dg/arm-mmx-1.c for VFP


Just as gcc.dg/arm-vfp1.c must be skipped when testing for iWMMXt (since 
GCC doesn't support VFP and iWMMXt together), so gcc.dg/arm-mmx-1.c must 
be skipped when testing for VFP.  I've applied this patch to mainline as 
obvious to fix this.

2006-08-30  Joseph Myers  <joseph@codesourcery.com>

	* gcc.dg/arm-mmx-1.c: Skip for -mfloat-abi=softfp.

Index: gcc/testsuite/gcc.dg/arm-mmx-1.c
===================================================================
--- gcc/testsuite/gcc.dg/arm-mmx-1.c	(revision 116570)
+++ gcc/testsuite/gcc.dg/arm-mmx-1.c	(working copy)
@@ -2,6 +2,7 @@
    it into sp.  */
 /* { dg-do compile } */
 /* { dg-options "-O -mno-apcs-frame -mcpu=iwmmxt -mabi=iwmmxt" } */
+/* { dg-skip-if "" { *-*-* } { "-mfloat-abi=softfp" } { "" } } */
 /* { dg-require-effective-target arm32 } */
 /* { dg-final { scan-assembler "ldmfd\[ 	]sp!.*ip,\[ ]*pc" } } */
 

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]