diff mbox

Fix PR tree-optimization/57660

Message ID 51C3390D.1050706@redhat.com
State New
Headers show

Commit Message

Jeff Law June 20, 2013, 5:17 p.m. UTC
This test is failing on targets with low branch costs.  For those 
targets we expand the code radically differently and the test really 
doesn't make much sense -- much like vrp87.c.

This patch copies the list of targets where the test is meaningless from 
vrp87.c.

Installed onto the trunk.
diff mbox

Patch

diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 5adbc01..f2d9895 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,5 +1,9 @@ 
 2013-06-20  Jeff Law  <law@redhat.com>
 
+	PR tree-optimization/57660
+	* gcc.dg/tree-ssa/forwprop-28.c: Don't run test on various targets
+	based on their branch cost.
+
 	* gcc.dg/tree-ssa/forwprop-28.c: Add missing dg-final.
 
 2013-06-20  Tobias Burnus  <burnus@net-b.de>
diff --git a/gcc/testsuite/gcc.dg/tree-ssa/forwprop-28.c b/gcc/testsuite/gcc.dg/tree-ssa/forwprop-28.c
index 8e870b9..a64987b 100644
--- a/gcc/testsuite/gcc.dg/tree-ssa/forwprop-28.c
+++ b/gcc/testsuite/gcc.dg/tree-ssa/forwprop-28.c
@@ -1,4 +1,4 @@ 
-/* { dg-do compile } */
+/* { dg-do compile { target { ! "m68k*-*-* mmix*-*-* mep*-*-* bfin*-*-* v850*-*-* picochip*-*-* moxie*-*-* cris*-*-* m32c*-*-* fr30*-*-* mcore*-*-* powerpc*-*-* xtensa*-*-*"} } } */
 /* { dg-options "-O2 -fdump-tree-forwprop1" } */
 
 extern char *frob (void);