This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Optimize abs(x) < 0.0
- From: Roger Sayle <roger at eyesopen dot com>
- To: Joern Rennecke <joern dot rennecke at superh dot com>, David Edelsohn <dje at watson dot ibm dot com>, <gcc-patches at gcc dot gnu dot org>
- Cc: Richard Henderson <rth at redhat dot com>, "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Date: Tue, 23 Jul 2002 22:02:17 -0600 (MDT)
- Subject: Re: [PATCH] Optimize abs(x) < 0.0
Hi Joern and David,
I was wondering if you could please test the following patch to
mark gcc.c-torture/execute/20020720-1.c as XFAIL on your platforms.
I've checked that this doesn't break "make check" on i686-pc-linux-gnu
but I have absolutely no idea whether it has any other effect on
any other platform :>
I'd also appreciate it if somebody on the mailing list that understands
how these things are supposed to work could confirm that the file below
does whats intended.
Many thanks in advance,
2002-07-23 Roger Sayle <roger@eyesopen.com>
* gcc.c-torture/execute/20020720-1.x: Mark MIPS, AIX and
some compiler flags on sh64 as XFAIL.
*** /dev/null Thu Aug 30 14:30:55 2001
--- gcc.c-torture/execute/20020720-1.x Tue Jul 23 21:25:22 2002
***************
*** 0 ****
--- 1,15 ----
+ # This test has been reported to fail on AIX and MIPS.
+ if { [istarget "powerpc-*-aix*"] || [istarget "rs6000-*-aix*"] \
+ || [istarget "mips*-*-*"] } {
+ set torture_execute_xfail [istarget]
+ }
+
+ # This test has also been reported to fail on sh64 with specific flags
+ if { [istarget "sh64*-*-*"] } {
+ if { [string match "*nofpu*" $CFLAGS] \
+ || [string match "*compact*" $CFLAGS] } {
+ set torture_execute_xfail [istarget]
+ }
+ }
+
+ return 0
Roger
--