This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[3.4, csl-arm]
- From: Paul Brook <paul at codesourcery dot com>
- To: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Cc: Mark Mitchell <mark at codesourcery dot com>
- Date: Fri, 12 Mar 2004 15:10:26 +0000
- Subject: [3.4, csl-arm]
- Organization: CodeSourcery
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