aboutsummaryrefslogtreecommitdiff
path: root/gcc
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
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')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/cfgcleanup.c4
2 files changed, 7 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index cc4b0b6..3d8819c 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,4 +1,8 @@
-2002-02-06 Aldy Hernandez <aldyh@redhat.com>
+2002-01-06 H.J. Lu <hjl@gnu.org>
+
+ * cfgcleanup.c (thread_jump): Fix 2 typos.
+
+2002-01-06 Aldy Hernandez <aldyh@redhat.com>
* config.gcc: Add support for --enable-altivec.
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);