OSDN Git Service

* cfgrtl.c (commit_one_edge_insertion): Fix warning.
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 2 Jun 2002 17:18:58 +0000 (17:18 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 2 Jun 2002 17:18:58 +0000 (17:18 +0000)
* gcse.c (bypass_conditional_jumps): CSE out single_set call.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54175 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 911337b..471e4ca 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 4509fa4..f721b12 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 a2c14a0..01d57ef 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);