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]

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


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