OSDN Git Service

* cfgcleanup.c (thread_jump): Fix handling of reversed branches.
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 5 Jan 2002 01:21:30 +0000 (01:21 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 5 Jan 2002 01:21:30 +0000 (01:21 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48554 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/cfgcleanup.c

index 5d0a8f9..fd32a1b 100644 (file)
@@ -1,3 +1,7 @@
+Sat Jan  5 02:20:22 CET 2002  Jan Hubicka  <jh@suse.cz>
+
+       * cfgcleanup.c (thread_jump): Fix handling of reversed branches.
+
 Sat Jan  5 01:35:29 CET 2002  Jan Hubicka  <jh@suse.cz>
 
        * cfgcleanup.c: Include tm_p.h
index 0a111a5..f4aec51 100644 (file)
@@ -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);