From: Roger Sayle Date: Fri, 26 Jul 2002 02:38:42 +0000 (+0000) Subject: 20020720-1.x: Skip this test on several targets known to fail. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7702af3606f28135c3d9a52029d8b89c283c0fd2;p=gcc.git 20020720-1.x: Skip this test on several targets known to fail. * gcc.c-torture/execute/20020720-1.x: Skip this test on several targets known to fail. From-SVN: r55769 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 991d5e1349b..ea6ed393420 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2002-07-25 Roger Sayle + + * gcc.c-torture/execute/20020720-1.x: Skip this test on + several targets known to fail. + 2002-07-25 Richard Sandiford * gcc.dg/mips-args-[123].c: New tests. diff --git a/gcc/testsuite/gcc.c-torture/execute/20020720-1.x b/gcc/testsuite/gcc.c-torture/execute/20020720-1.x new file mode 100644 index 00000000000..6534217d7c8 --- /dev/null +++ b/gcc/testsuite/gcc.c-torture/execute/20020720-1.x @@ -0,0 +1,16 @@ +# The following targets fail 20020720-1.c for several reasons: +# (1) They implement floating point instructions via software, or +# (2) Their machine descriptions obfuscate the "abs(x) < 0.0" comparison. +# For example, 1 insn performs abs, 1 insn loads 0.0, 1 insn sets +# CCmode flags based upon the FP comparison, and a 4th insn makes +# a conditional branch based upon the appropriate bits in the flags. +# If the intermediate comparison can't be recognized, the combiner +# is unable to optimize all four RTL instructions simultaneously. + +if { [istarget "powerpc-*-*"] || [istarget "rs6000-*-*"] \ + || [istarget "mips*-*-*"] || [istarget "xtensa-*-*"] \ + || [istarget "sh-*-*"] } { + return 1 +} + +return 0