aboutsummaryrefslogtreecommitdiff
path: root/gcc/cfgcleanup.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl@gcc.gnu.org>2002-01-06 18:14:30 -0800
committerH.J. Lu <hjl@gcc.gnu.org>2002-01-06 18:14:30 -0800
commit68f3f6f1a47d59a31fbb59ce6eabe0530d6fecd3 (patch)
tree557283101311898298e124aa4ef436871c601188 /gcc/cfgcleanup.c
parent480f7f3a6b66429c144c564cb6333d6cf50cc1d9 (diff)
downloadgcc-68f3f6f1a47d59a31fbb59ce6eabe0530d6fecd3.zip
gcc-68f3f6f1a47d59a31fbb59ce6eabe0530d6fecd3.tar.gz
gcc-68f3f6f1a47d59a31fbb59ce6eabe0530d6fecd3.tar.bz2
cfgcleanup.c (thread_jump): Fix 2 typos.
2002-01-06 H.J. Lu <hjl@gnu.org> * cfgcleanup.c (thread_jump): Fix 2 typos. From-SVN: r48592
Diffstat (limited to 'gcc/cfgcleanup.c')
-rw-r--r--gcc/cfgcleanup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cfgcleanup.c b/gcc/cfgcleanup.c
index 69045a0..8cf7e68 100644
--- a/gcc/cfgcleanup.c
+++ b/gcc/cfgcleanup.c
@@ -268,13 +268,13 @@ thread_jump (mode, e, b)
set1 = pc_set (e->src->end);
set2 = pc_set (b->end);
if (((e->flags & EDGE_FALLTHRU) != 0)
- != (XEXP (SET_SRC (set1), 0) == pc_rtx))
+ != (XEXP (SET_SRC (set1), 1) == pc_rtx))
reverse1 = true;
cond1 = XEXP (SET_SRC (set1), 0);
cond2 = XEXP (SET_SRC (set2), 0);
if (reverse1)
- code1 = reversed_comparison_code (cond1, b->end);
+ code1 = reversed_comparison_code (cond1, e->src->end);
else
code1 = GET_CODE (cond1);