summaryrefslogtreecommitdiff
path: root/gcc/cfgcleanup.c
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2002-01-05 01:21:30 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2002-01-05 01:21:30 +0000
commit148444fb796762d32e9f54a918fb49e330206879 (patch)
treead72c1d576659b98cf0f19f607d13e164c9b1ae1 /gcc/cfgcleanup.c
parent20eee3f644f90a353087c45b73bddc389c705061 (diff)
downloadgcc-148444fb796762d32e9f54a918fb49e330206879.tar.gz
* cfgcleanup.c (thread_jump): Fix handling of reversed branches.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48554 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cfgcleanup.c')
-rw-r--r--gcc/cfgcleanup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cfgcleanup.c b/gcc/cfgcleanup.c
index 0a111a513b9..f4aec511b9f 100644
--- a/gcc/cfgcleanup.c
+++ b/gcc/cfgcleanup.c
@@ -349,7 +349,7 @@ thread_jump (mode, e, b)
BITMAP_XFREE (nonequal);
cselib_finish ();
if ((comparison_dominates_p (code1, code2) != 0)
- != (XEXP (SET_SRC (set2), 0) == pc_rtx))
+ != (XEXP (SET_SRC (set2), 1) == pc_rtx))
return BRANCH_EDGE (b);
else
return FALLTHRU_EDGE (b);