From 63db9a5efc116126059cb042d7dac3e81b0a7fc2 Mon Sep 17 00:00:00 2001 From: Hans-Peter Nilsson Date: Sun, 9 Sep 2007 23:41:50 +0000 Subject: [PATCH] * gcc.dg/tree-ssa/ssa-fre-4.c: Skip for cris-*-* and mmix-*-*. From-SVN: r128314 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gcc.dg/tree-ssa/ssa-fre-4.c | 3 +++ 2 files changed, 7 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 02fc4ac632f..d69715e3ad1 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2007-09-10 Hans-Peter Nilsson + + * gcc.dg/tree-ssa/ssa-fre-4.c: Skip for cris-*-* and mmix-*-*. + 2007-09-09 Richard Guenther * gcc.c-torture/compile/20070906-1.c: New testcase. diff --git a/gcc/testsuite/gcc.dg/tree-ssa/ssa-fre-4.c b/gcc/testsuite/gcc.dg/tree-ssa/ssa-fre-4.c index 04208a2290d..adae7b55de8 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/ssa-fre-4.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/ssa-fre-4.c @@ -1,4 +1,7 @@ /* { dg-do compile } */ +/* If the target returns false for TARGET_PROMOTE_PROTOTYPES, then there + will be no casts for FRE to eliminate and the test will fail. */ +/* { dg-skip-if "no promotion to eliminate" { cris-*-* mmix-*-* } { "*" } { "" } } */ /* { dg-options "-O -fdump-tree-fre-details" } */ /* From PR21608. */ -- 2.30.2