This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH, testsuite]: Committed: Fix gcc.target/i386/reload-1.c test
- From: "Uros Bizjak" <ubizjak at gmail dot com>
- To: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Cc: "Hui-May Chang" <hm dot chang at apple dot com>
- Date: Wed, 25 Apr 2007 14:00:11 +0200
- Subject: [PATCH, testsuite]: Committed: Fix gcc.target/i386/reload-1.c test
Hello!
Attached patch fixes recent testsuite failure. Patch was tested by
running the testsuite on i686-pc-linux-gnu.
2007-04-25 Uros Bizjak <ubizjak@gmail.com>
* gcc.target/i386/reload-1.c. Include <stdint.h>. Compile for all
ilp32 i?86-*-* and x86_64-*-* targets. Do not skip test for -m64.
Use scan-rtl-dump-not procedure to scan RTL dump. Cleanup csa dump.
Patch is committed to mainline SVN.
Uros.
Index: reload-1.c
===================================================================
--- reload-1.c (revision 124150)
+++ reload-1.c (working copy)
@@ -1,8 +1,9 @@
-/* { dg-do compile { target i?86-*-* } } */
+/* { dg-do compile { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */
/* { dg-options "-O3 -msse2 -fdump-rtl-csa" } */
-/* { dg-skip-if "" { i?86-*-* } { "-m64" } { "" } } */
-/* { dg-final { scan-file-not reload-1.c.167r.csa "deleted 1 dead insns" } }*/
+
#include <emmintrin.h>
+#include <stdint.h>
+
typedef __SIZE_TYPE__ size_t;
typedef float vFloat __attribute__ ((__vector_size__ (16)));
typedef double vDouble __attribute__ ((__vector_size__ (16)));
@@ -107,3 +108,6 @@
fj *jd = (fj*) j;
return bar (&jd->src, &jd->dest, jd->g, jd->flags);
}
+
+/* { dg-final { scan-rtl-dump-not "deleted 1 dead insns" "csa" } } */
+/* { dg-final { cleanup-rtl-dump "csa" } } */