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]

[3.4, csl-arm]


The following patch (present on mainline) fixes a spurious arm/thumb testsuite 
failure.

Ok to apply to 3.4 and csl-arm-branch?

Paul

2004-02-04  Ian Lance Taylor  <ian@wasabisystems.com>

        * gcc.dg/arm-mmx-1.c: Don't look for ldmfd if -mthumb.

===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/arm-mmx-1.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- gcc/gcc/testsuite/gcc.dg/arm-mmx-1.c	2004/01/27 14:48:02	1.1
+++ gcc/gcc/testsuite/gcc.dg/arm-mmx-1.c	2004/02/04 13:43:43	1.2
@@ -2,7 +2,7 @@
    it into sp.  */
 /* { dg-do compile { target arm*-*-* strongarm*-*-* xscale*-*-*} } */
 /* { dg-options "-O -mno-apcs-frame -mcpu=iwmmxt" } */
-/* { dg-final { scan-assembler "ldmfd\[ 	]sp!.*ip,\[ ]*pc" } } */
+/* { dg-final { global compiler_flags; if ![string match "*-mthumb *" 
$compiler_flags] { scan-assembler "ldmfd\[ 	]sp!.*ip,\[ ]*pc" } } } */
 
 /* This function uses all the call-saved registers, namely r4, r5, r6,
    r7, r8, r9, sl, fp.  Since we also save pc, that leaves an odd


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