[patch] gcc/*.[ch]: Fix comment formatting.

Kazu Hirata kazu@cs.umass.edu
Sat Mar 8 01:39:00 GMT 2003


Hi,

Attached is a patch to fix comment formatting.  Committed as obvious.

Kazu Hirata

2003-03-07  Kazu Hirata  <kazu@cs.umass.edu>

	* calls.c: Fix comment formatting.
	* cfgloopanal.c: Likewise.
	* cfgloopmanip.c: Likewise.
	* combine.c: Likewise.
	* dwarf2out.c: Likewise.
	* ggc-common.c: Likewise.
	* langhooks.c: Likewise.
	* loop-unroll.c: Likewise.
	* loop.c: Likewise.
	* ra-build.c: Likewise.
	* sbitmap.c: Likewise.
	* toplev.c: Likewise.

Index: calls.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/calls.c,v
retrieving revision 1.261
diff -u -r1.261 calls.c
--- calls.c	5 Mar 2003 22:19:31 -0000	1.261
+++ calls.c	8 Mar 2003 01:31:58 -0000
@@ -2572,7 +2572,7 @@
 	  if (try_tail_recursion)
 	    actparms = tree_cons (NULL_TREE, args[i].tree_value, actparms);
 	}
-      /* Do the same for the function address if it is an expression. */
+      /* Do the same for the function address if it is an expression.  */
       if (!fndecl)
         addr = fix_unsafe_tree (addr);
       /* Expanding one of those dangerous arguments could have added
Index: cfgloopanal.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cfgloopanal.c,v
retrieving revision 1.3
diff -u -r1.3 cfgloopanal.c
--- cfgloopanal.c	5 Mar 2003 22:05:18 -0000	1.3
+++ cfgloopanal.c	8 Mar 2003 01:31:59 -0000
@@ -214,7 +214,7 @@
     }
 }
 
-/* Checks that EXPR is invariant provided that INVARIANT_REGS are invariant. */
+/* Checks that EXPR is invariant provided that INVARIANT_REGS are invariant.  */
 static bool
 invariant_rtx_wrto_regs_p (expr, invariant_regs)
      rtx expr;
@@ -278,7 +278,7 @@
       return true;
     }
 
-  /* Check the other operand. */
+  /* Check the other operand.  */
   if (!invariant_rtx_wrto_regs_p (op1, invariant_regs))
     return false;
   if (!REG_P (op0))
@@ -494,7 +494,7 @@
    These cases needs to be either cared by copying the loop test in the front
    of loop or keeping the test in first iteration of loop.
    
-   When INIT/LIM are set, they are used instead of var/lim of DESC. */
+   When INIT/LIM are set, they are used instead of var/lim of DESC.  */
 rtx
 count_loop_iterations (desc, init, lim)
      struct loop_desc *desc;
@@ -578,7 +578,7 @@
   if (stride != const1_rtx)
     {
       /* Number of iterations is now (EXP + STRIDE - 1 / STRIDE),
-	 but we need to take care for overflows.   */
+	 but we need to take care for overflows.  */
 
       mod = simplify_gen_binary (UMOD, GET_MODE (desc->var), exp, stride);
 
@@ -719,7 +719,7 @@
   desc->var_alts = variable_initial_values (e, desc->var);
   desc->lim_alts = variable_initial_values (e, desc->lim);
 
-  /* Number of iterations. */
+  /* Number of iterations.  */
   if (!count_loop_iterations (desc, NULL, NULL))
     return false;
   desc->const_iter =
Index: cfgloopmanip.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cfgloopmanip.c,v
retrieving revision 1.6
diff -u -r1.6 cfgloopmanip.c
--- cfgloopmanip.c	5 Mar 2003 22:05:18 -0000	1.6
+++ cfgloopmanip.c	8 Mar 2003 01:31:59 -0000
@@ -875,7 +875,7 @@
   else
     {
       /* Cannot happen -- we are using this only to remove an edge
-	 from branch. */
+	 from branch.  */
       abort ();
     }
 
@@ -1411,7 +1411,7 @@
 
   add_to_dominance_info (dom, fallthru->dest);
   
-  /* Redirect edges. */
+  /* Redirect edges.  */
   for (e = dummy->pred; e; e = e->pred_next)
     {
       src = e->src;
Index: combine.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/combine.c,v
retrieving revision 1.346
diff -u -r1.346 combine.c
--- combine.c	28 Feb 2003 10:11:47 -0000	1.346
+++ combine.c	8 Mar 2003 01:32:06 -0000
@@ -4193,7 +4193,7 @@
          = (float_truncate:SF foo:DF). 
 
          (float_truncate:DF (float_extend:XF foo:SF)) 
-         = (float_extend:SF foo:DF). */
+         = (float_extend:SF foo:DF).  */
       if ((GET_CODE (XEXP (x, 0)) == FLOAT_TRUNCATE
 	   && flag_unsafe_math_optimizations)
 	  || GET_CODE (XEXP (x, 0)) == FLOAT_EXTEND)
Index: dwarf2out.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/dwarf2out.c,v
retrieving revision 1.406
diff -u -r1.406 dwarf2out.c
--- dwarf2out.c	6 Mar 2003 10:23:46 -0000	1.406
+++ dwarf2out.c	8 Mar 2003 01:32:11 -0000
@@ -12755,7 +12755,7 @@
 
 
 /* Clear the marks for a die and its children.
-   Be cool if the mark isn't set. */
+   Be cool if the mark isn't set.  */
 
 static void
 prune_unmark_dies (die)
@@ -12829,7 +12829,7 @@
       for (c = die->die_child; c; c = c->die_sib)
 	{
 	  /* If this is an array type, we need to make sure our
-	     kids get marked, even if they're types. */
+	     kids get marked, even if they're types.  */
 	  if (die->die_tag == DW_TAG_array_type)
 	    prune_unused_types_mark (c, 1);
 	  else
Index: ggc-common.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/ggc-common.c,v
retrieving revision 1.64
diff -u -r1.64 ggc-common.c
--- ggc-common.c	4 Mar 2003 17:51:00 -0000	1.64
+++ ggc-common.c	8 Mar 2003 01:32:12 -0000
@@ -694,7 +694,7 @@
   /* Adjust for rlimits.  */
   min_heap_kbytes = ggc_rlimit_bound (min_heap_kbytes);
 
-  min_heap_kbytes /= 1024; /* convert to Kbytes. */
+  min_heap_kbytes /= 1024; /* convert to Kbytes.  */
   
   /* The heuristic is RAM/8, with a lower bound of 4M and an upper
      bound of 128M (when RAM >= 1GB).  */
Index: langhooks.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/langhooks.c,v
retrieving revision 1.36
diff -u -r1.36 langhooks.c
--- langhooks.c	19 Feb 2003 05:39:06 -0000	1.36
+++ langhooks.c	8 Mar 2003 01:32:12 -0000
@@ -450,7 +450,7 @@
 }
 
 /* lang_hooks.decls.final_write_globals: perform final processing on
-   global variables. */
+   global variables.  */
 void
 write_global_declarations ()
 {
Index: loop-unroll.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/loop-unroll.c,v
retrieving revision 1.3
diff -u -r1.3 loop-unroll.c
--- loop-unroll.c	5 Mar 2003 22:05:18 -0000	1.3
+++ loop-unroll.c	8 Mar 2003 01:32:12 -0000
@@ -346,7 +346,7 @@
       return;
     }
 
-  /* npeel = number of iterations to peel. */
+  /* npeel = number of iterations to peel.  */
   npeel = PARAM_VALUE (PARAM_MAX_COMPLETELY_PEELED_INSNS) / loop->ninsns;
   if (npeel > (unsigned) PARAM_VALUE (PARAM_MAX_COMPLETELY_PEEL_TIMES))
     npeel = PARAM_VALUE (PARAM_MAX_COMPLETELY_PEEL_TIMES);
@@ -974,7 +974,7 @@
   if (rtl_dump_file)
     fprintf (rtl_dump_file, ";; Considering simply peeling loop\n");
 
-  /* npeel = number of iterations to peel. */
+  /* npeel = number of iterations to peel.  */
   npeel = PARAM_VALUE (PARAM_MAX_PEELED_INSNS) / loop->ninsns;
   if (npeel > (unsigned) PARAM_VALUE (PARAM_MAX_PEEL_TIMES))
     npeel = PARAM_VALUE (PARAM_MAX_PEEL_TIMES);
Index: loop.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/loop.c,v
retrieving revision 1.445
diff -u -r1.445 loop.c
--- loop.c	28 Feb 2003 18:45:38 -0000	1.445
+++ loop.c	8 Mar 2003 01:32:18 -0000
@@ -225,7 +225,7 @@
   unsigned int is_equiv : 1;	/* 1 means a REG_EQUIV is present on INSN.  */
   unsigned int insert_temp : 1;  /* 1 means we copy to a new pseudo and replace
 				    the original insn with a copy from that
-				    pseudo, rather than deleting it. */
+				    pseudo, rather than deleting it.  */
   struct movable *match;	/* First entry for same value */
   struct movable *forces;	/* An insn that must be moved if this is */
   struct movable *next;
@@ -846,7 +846,7 @@
 		;
 	      /* Don't move the source and add a reg-to-reg copy with -Os
 		 (this certainly increases size) or if the source is
-		 already a reg (the motion will gain nothing). */
+		 already a reg (the motion will gain nothing).  */
 	      else if (insert_temp 
 		       && (optimize_size || GET_CODE (SET_SRC (set)) == REG
 			   || (CONSTANT_P (SET_SRC (set))
@@ -1977,7 +1977,7 @@
 		      if (m->insert_temp)
 			{
 			  /* Replace the original insn with a move from
-			     our newly created temp. */
+			     our newly created temp.  */
 			  start_sequence ();
     			  emit_move_insn (m->set_dest, newreg);
 			  seq = get_insns ();
@@ -2221,7 +2221,7 @@
 			{
 			  rtx seq;
 			  /* Replace the original insn with a move from
-			     our newly created temp. */
+			     our newly created temp.  */
 			  start_sequence ();
     			  emit_move_insn (m->set_dest, newreg);
 			  seq = get_insns ();
Index: ra-build.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/ra-build.c,v
retrieving revision 1.17
diff -u -r1.17 ra-build.c
--- ra-build.c	7 Mar 2003 22:06:16 -0000	1.17
+++ ra-build.c	8 Mar 2003 01:32:20 -0000
@@ -1729,7 +1729,7 @@
 	      && (web1->num_uses != web2->num_uses
 	          || web1->num_defs != web2->num_defs))
 	  /* Similarly, if the framepointer was unreferenced originally
-	     but we added spills, these fields may not match. */
+	     but we added spills, these fields may not match.  */
 	  || (web1->type != PRECOLORED
                && web1->crosses_call != web2->crosses_call)
 	  || (web1->type != PRECOLORED
Index: sbitmap.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/sbitmap.c,v
retrieving revision 1.25
diff -u -r1.25 sbitmap.c
--- sbitmap.c	18 Feb 2003 19:35:08 -0000	1.25
+++ sbitmap.c	8 Mar 2003 01:32:20 -0000
@@ -94,7 +94,7 @@
     }
   else if (n_elms < bmap->n_bits)
     {
-      /* Clear the surplus bits in the last word. */
+      /* Clear the surplus bits in the last word.  */
       last_bit = n_elms % SBITMAP_ELT_BITS;
       if (last_bit)
 	bmap->elms[size - 1]
Index: toplev.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/toplev.c,v
retrieving revision 1.731
diff -u -r1.731 toplev.c
--- toplev.c	5 Mar 2003 22:19:32 -0000	1.731
+++ toplev.c	8 Mar 2003 01:32:23 -0000
@@ -1967,7 +1967,7 @@
       decl = vec[i];
 
       /* We're not deferring this any longer.  Assignment is
-	 conditional to avoid needlessly dirtying PCH pages. */
+	 conditional to avoid needlessly dirtying PCH pages.  */
       if (DECL_DEFER_OUTPUT (decl) != 0)
 	DECL_DEFER_OUTPUT (decl) = 0;
 
@@ -3542,7 +3542,7 @@
       open_dump_file (DFI_bbro, decl);
 
       /* Last attempt to optimize CFG, as scheduling, peepholing and insn
-	 splitting possibly introduced more crossjumping opportunities. */
+	 splitting possibly introduced more crossjumping opportunities.  */
       cleanup_cfg (CLEANUP_EXPENSIVE | CLEANUP_UPDATE_LIFE
 		   | (flag_crossjumping ? CLEANUP_CROSSJUMP : 0));
 



More information about the Gcc-patches mailing list