This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
cond_exec_get_condition regression
- To: gcc-patches at gcc dot gnu dot org
- Subject: cond_exec_get_condition regression
- From: Richard Earnshaw <rearnsha at arm dot com>
- Date: Fri, 26 May 2000 11:05:23 +0100
- cc: rearnsha at arm dot com
- Organization: ARM Ltd.
- Reply-To: rearnsha at arm dot com
Committed on the grounds that it is obvious...
2000-05-26 Richard Earnshaw <rearnsha@arm.com>
* ifcvt.c (cond_exec_get_condition): Set test_if to the SET_SRC
of get_pc.
Index: ifcvt.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/ifcvt.c,v
retrieving revision 1.23
diff -p -r1.23 ifcvt.c
*** ifcvt.c 2000/05/25 23:53:23 1.23
--- ifcvt.c 2000/05/26 09:48:53
*************** cond_exec_get_condition (jump)
*** 267,273 ****
rtx test_if, cond;
if (any_condjump_p (jump))
! test_if = pc_set (jump);
else
return NULL_RTX;
cond = XEXP (test_if, 0);
--- 267,273 ----
rtx test_if, cond;
if (any_condjump_p (jump))
! test_if = SET_SRC (pc_set (jump));
else
return NULL_RTX;
cond = XEXP (test_if, 0);