cfgrtl.c (commit_one_edge_insertion): Fix warning.
authorJan Hubicka <jh@suse.cz>
Sun, 2 Jun 2002 17:18:58 +0000 (19:18 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Sun, 2 Jun 2002 17:18:58 +0000 (17:18 +0000)
* cfgrtl.c (commit_one_edge_insertion): Fix warning.
* gcse.c (bypass_conditional_jumps): CSE out single_set call.

From-SVN: r54175

gcc/ChangeLog
gcc/cfgrtl.c
gcc/gcse.c

index 911337b3da974425c51e93b2b7e9c7fc49e57a65..471e4caa970d0d68555fa82cda8db0e6adfcecd4 100644 (file)
@@ -1,3 +1,8 @@
+Sun Jun  2 19:15:27 CEST 2002  Jan Hubicka  <jh@suse.cz>
+
+       * cfgrtl.c (commit_one_edge_insertion): Fix warning.
+       * gcse.c (bypass_conditional_jumps): CSE out single_set call.
+
 2002-06-02  Neil Booth  <neil@daikokuya.demon.co.uk>
 
        * d30v.h (CPP_PREDEFINES): Replace with
index 4509fa49de737d6046db5d6dbec18c28d263c146..f721b12f916a7b643cfe31def0fe9e5e3e2dec5f 100644 (file)
@@ -1352,7 +1352,7 @@ commit_one_edge_insertion (e, watch_calls)
      int watch_calls;
 {
   rtx before = NULL_RTX, after = NULL_RTX, insns, tmp, last;
-  basic_block bb;
+  basic_block bb = NULL;
 
   /* Pull the insns off the edge now since the edge might go away.  */
   insns = e->insns;
index a2c14a04205ca9f6a6725af844aaae52f2b2b3db..01d57efa903d8dda407bf79ae7d24ded58ae347a 100644 (file)
@@ -4544,7 +4544,7 @@ bypass_conditional_jumps ()
                rtx set = single_set (insn);
                if (setcc)
                  break;
-               if (!single_set (insn))
+               if (!set)
                  break;
 
                dest = SET_DEST (set);