From 5f361012f7f68251ef52223accb743e64320fa1c Mon Sep 17 00:00:00 2001 From: Richard Earnshaw Date: Fri, 26 May 2000 09:51:00 +0000 Subject: [PATCH] ifcvt.c (cond_exec_get_condition): Set test_if to the SET_SRC of get_pc. * ifcvt.c (cond_exec_get_condition): Set test_if to the SET_SRC of get_pc. From-SVN: r34192 --- gcc/ChangeLog | 5 +++++ gcc/ifcvt.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 86f6662ca2b..b46061491fe 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2000-05-26 Richard Earnshaw + + * ifcvt.c (cond_exec_get_condition): Set test_if to the SET_SRC + of get_pc. + 2000-05-25 Richard Henderson * config/alpha/alpha.c (alpha_comparison_operator): Don't be diff --git a/gcc/ifcvt.c b/gcc/ifcvt.c index 9b20b3ae503..1bdfae35604 100644 --- a/gcc/ifcvt.c +++ b/gcc/ifcvt.c @@ -267,7 +267,7 @@ cond_exec_get_condition (jump) rtx test_if, cond; if (any_condjump_p (jump)) - test_if = pc_set (jump); + test_if = SET_SRC (pc_set (jump)); else return NULL_RTX; cond = XEXP (test_if, 0); -- 2.30.2