OSDN Git Service

* tree-cfg.c (tree_forwarder_block_p): Fix a typo.
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 3 May 2005 16:31:09 +0000 (16:31 +0000)
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 3 May 2005 16:31:09 +0000 (16:31 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99161 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/tree-cfg.c

index eaceebc..022ae87 100644 (file)
@@ -1,3 +1,7 @@
+2005-05-03  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * tree-cfg.c (tree_forwarder_block_p): Fix a typo.
+
 2005-05-03  Eric Botcazou  <ebotcazou@libertysurf.fr>
 
        * config/sparc/predicates.md (const_compl_high_operand): New.
index c6494cc..26dced0 100644 (file)
@@ -4029,7 +4029,7 @@ tree_forwarder_block_p (basic_block bb, bool phi_wanted)
 
   /* Now walk through the statements backward.  We can ignore labels,
      anything else means this is not a forwarder block.  */
-  for (bsi = bsi_last (bb); !bsi_end_p (bsi); bsi_next (&bsi))
+  for (bsi = bsi_last (bb); !bsi_end_p (bsi); bsi_prev (&bsi))
     {
       tree stmt = bsi_stmt (bsi);