diff options
author | Richard Earnshaw <rearnsha@arm.com> | 2000-05-26 09:51:00 +0000 |
---|---|---|
committer | Richard Earnshaw <rearnsha@gcc.gnu.org> | 2000-05-26 09:51:00 +0000 |
commit | 5f361012f7f68251ef52223accb743e64320fa1c (patch) | |
tree | f657195ecfd44a7d38241bda7b66d2be72da157e | |
parent | 387769edff1fcbf01f055f45ae55ea5362dbabca (diff) | |
download | gcc-5f361012f7f68251ef52223accb743e64320fa1c.zip gcc-5f361012f7f68251ef52223accb743e64320fa1c.tar.gz gcc-5f361012f7f68251ef52223accb743e64320fa1c.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/ifcvt.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 86f6662..b460614 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2000-05-26 Richard Earnshaw <rearnsha@arm.com> + + * ifcvt.c (cond_exec_get_condition): Set test_if to the SET_SRC + of get_pc. + 2000-05-25 Richard Henderson <rth@cygnus.com> * config/alpha/alpha.c (alpha_comparison_operator): Don't be diff --git a/gcc/ifcvt.c b/gcc/ifcvt.c index 9b20b3a..1bdfae3 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); |