]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* tree-cfg.c (tree_forwarder_block_p): Fix a typo.
authorKazu Hirata <kazu@cs.umass.edu>
Tue, 3 May 2005 16:31:09 +0000 (16:31 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Tue, 3 May 2005 16:31:09 +0000 (16:31 +0000)
From-SVN: r99161

gcc/ChangeLog
gcc/tree-cfg.c

index eaceebc0a019164037db0785ee1db37611937190..022ae87d2ae83272708de2618bff9870ccec99d4 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 c6494cc3d732b8e19766d20bf1554c72c5c15df4..26dced0b69afad20bc3cdbdd547066c7be385893 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);