diff mbox

[testsuite,committed] Tweak gcc.dg/tree-ssa/pr42585.c for SH

Message ID 20100816.091051.26606525.kkojima@rr.iij4u.or.jp
State New
Headers show

Commit Message

Kaz Kojima Aug. 16, 2010, 12:10 a.m. UTC
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.
diff mbox

Patch

--- 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" } } */