]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fix comments and formatrting
authorAndrew MacLeod <amacleod@redhat.com>
Thu, 18 Sep 2008 14:13:54 +0000 (14:13 +0000)
committerAndrew Macleod <amacleod@gcc.gnu.org>
Thu, 18 Sep 2008 14:13:54 +0000 (14:13 +0000)
From-SVN: r140457

gcc/ChangeLog
gcc/tree-flow.h
gcc/tree-outof-ssa.c

index c608dccb4b0011dc78329f2a135394c6d1a8f20a..0c44dff77ed3d92829efce4a7ae5551d7e5e3e1a 100644 (file)
@@ -1,3 +1,8 @@
+2008-09-18  Andrew MacLeod  <amacleod@redhat.com>
+
+       * tree-outof-ssa.c (eliminate_useless_phis): fix formatting.
+       * tree-flow-.h (struct immediate_use_iterator_d): Fix comment.
+
 2008-09-18  Andrew MacLeod  <amacleod@redhat.com>
 
        PR tree-optimization/37102
index 7f3c0dddeb57a04945f302d79bf3c72c8dbe3c8d..056162fbb1bf05c4703fe301221cb6ae898b7773 100644 (file)
@@ -508,7 +508,7 @@ typedef struct immediate_use_iterator_d
        {
          FOR_EACH_IMM_USE_ON_STMT (use_p, iter)
           {
-            SET_USE (use_p) = blah;
+            SET_USE (use_p, blah);
           }
         update_stmt (stmt);
        }                                                        */
index 042e349368a55f264b45979075c19b1a09622d51..82cc0ffea59e9752f737914a6f58d2a80ce0f445 100644 (file)
@@ -606,7 +606,7 @@ replace_def_variable (var_map map, def_operand_p def_p, tree *expr)
 }
 
 
-/* Remove each argument from a PHI node.  If an arg was the last use of an SSA_NAME, 
+/* Remove each argument from PHI.  If an arg was the last use of an SSA_NAME, 
    check to see if this allows another PHI node to be removed.  */
 
 static void
@@ -667,8 +667,8 @@ eliminate_useless_phis (void)
            {
 #ifdef ENABLE_CHECKING
              size_t i;
-             /* There should be no arguments of this PHI which are not virtual, or we 
-                get incorrect results.  */
+             /* There should be no arguments which are not virtual, or the
+                results will be incorrect.  */
              for (i = 0; i < gimple_phi_num_args (phi); i++)
                {
                  tree arg = PHI_ARG_DEF (phi, i);