This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] Update gcc.c-torture/execute/20020720-1.x
- From: Roger Sayle <roger at eyesopen dot com>
- To: <gcc-patches at gcc dot gnu dot org>
- Date: Sat, 28 Sep 2002 10:09:41 -0600 (MDT)
- Subject: [PATCH] Update gcc.c-torture/execute/20020720-1.x
I've reconfirmed that recent patches to mainline no longer cause this
test case to fail on powerpc-ibm-aix5.1.0.0, powerpc-eabisim and
mmix-knuth-mmixware. Specifically these were fixed by the patch:
2002-09-08 Roger Sayle <roger@eyesopen.com>
* combine.c (try_combine): Handle the case that undobuf.other_insn
has been turned into a return or unconditional jump, by inserting
a BARRIER if necessary.
(simplify_set): Test if a condition code setter has a constant
comparison at compile time, if so convert this insn to a no-op move
and update/simplify the condition code user (undobuf.other_insn).
Ok for mainline?
2002-09-28 Roger Sayle <roger@eyesopen.com>
* gcc.c-torture/execute/20020720-1.x: No longer skip test on
powerpc and MMIX targets.
Index: gcc.c-torture/execute/20020720-1.x
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.c-torture/execute/20020720-1.x,v
retrieving revision 1.3
diff -c -3 -p -r1.3 20020720-1.x
*** gcc.c-torture/execute/20020720-1.x 20 Sep 2002 15:48:05 -0000 1.3
--- gcc.c-torture/execute/20020720-1.x 28 Sep 2002 16:11:53 -0000
***************
*** 9,17 ****
# for example the comparison insn takes 0.0 as an operand, the
# combiner is able to see all intermediate instructions simultaneously
# and can make the optimization.
! if { [istarget "powerpc-*-*"] || [istarget "rs6000-*-*"] \
! || [istarget "mips*-*-*"] || [istarget "xtensa-*-*"] \
! || [istarget "sh-*-*"] || [istarget "mmix-*-*"] \
|| [istarget "arm*-*-*"] || [istarget "strongarm*-*-*"] \
|| [istarget "xscale*-*-*"] } {
return 1
--- 9,16 ----
# for example the comparison insn takes 0.0 as an operand, the
# combiner is able to see all intermediate instructions simultaneously
# and can make the optimization.
! if { [istarget "mips*-*-*"] || [istarget "xtensa-*-*"] \
! || [istarget "sh-*-*"] \
|| [istarget "arm*-*-*"] || [istarget "strongarm*-*-*"] \
|| [istarget "xscale*-*-*"] } {
return 1
Roger
--
Roger Sayle, E-mail: roger@eyesopen.com
OpenEye Scientific Software, WWW: http://www.eyesopen.com/
Suite 1107, 3600 Cerrillos Road, Tel: (+1) 505-473-7385
Santa Fe, New Mexico, 87507. Fax: (+1) 505-473-0833