This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch testsuite committed] Tweak gcc.dg/tree-ssa/pr42585.c for SH
- From: Kaz Kojima <kkojima at rr dot iij4u dot or dot jp>
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 16 Aug 2010 09:10:51 +0900 (JST)
- Subject: [patch testsuite committed] Tweak gcc.dg/tree-ssa/pr42585.c for SH
Hi,
gcc.dg/tree-ssa/pr42585.c fails on SH targets which use
the default value of MOVE_RATIO like as powerpc and arm.
The attached patch add sh*-*-* to the list of those arches.
Tested on powerpc-apple-darwin9.8.0, sh4-unknown-linux-gnu
and i686-pc-linux-gnu. Committed on trunk.
Regards,
kaz
--
2010-08-15 Kaz Kojima <kkojima@gcc.gnu.org>
* gcc.dg/tree-ssa/pr42585.c: Skip dump scan on sh.
--- ORIG/trunk/gcc/testsuite/gcc.dg/tree-ssa/pr42585.c 2010-08-07 09:45:38.000000000 +0900
+++ trunk/gcc/testsuite/gcc.dg/tree-ssa/pr42585.c 2010-08-15 16:25:16.000000000 +0900
@@ -32,6 +32,6 @@ Cyc_string_ungetc (int ignore, struct _f
}
/* The local aggregates . */
-/* { dg-final { scan-tree-dump-times "struct _fat_ptr _ans" 0 "optimized" { target { { ! powerpc*-*-* } && { ! arm-*-* } } } } } */
-/* { dg-final { scan-tree-dump-times "struct _fat_ptr _T2" 0 "optimized" { target { { ! powerpc*-*-* } && { ! arm-*-* } } } } } */
+/* { dg-final { scan-tree-dump-times "struct _fat_ptr _ans" 0 "optimized" { target { { { ! powerpc*-*-* } && { ! arm-*-* } } && { ! sh*-*-* } } } } } */
+/* { dg-final { scan-tree-dump-times "struct _fat_ptr _T2" 0 "optimized" { target { { { ! powerpc*-*-* } && { ! arm-*-* } } && { ! sh*-*-* } } } } } */
/* { dg-final { cleanup-tree-dump "optimized" } } */