This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Hi,

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

Kazu Hirata

2002-10-27  Kazu Hirata  <kazu@cs.umass.edu>

	* combine.c: Fix comment formatting.
	* loop.c: Likewise.
	* real.c: Likewise.
	* regclass.c: Likewise.
	* regmove.c: Likewise.
	* regrename.c: Likewise.
	* reg-stack.c: Likewise.
	* reload1.c: Likewise.
	* reload.c: Likewise.
	* reload.h: Likewise.
	* unroll.c: Likewise.

Index: combine.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/combine.c,v
retrieving revision 1.321
diff -u -r1.321 combine.c
--- combine.c	15 Oct 2002 05:01:07 -0000	1.321
+++ combine.c	27 Oct 2002 14:40:19 -0000
@@ -11913,7 +11913,7 @@
 	{
 	  unsigned int endregno, r;
 
-	  /* None of this applies to the stack, frame or arg pointers */
+	  /* None of this applies to the stack, frame or arg pointers.  */
 	  if (regno == STACK_POINTER_REGNUM
 #if FRAME_POINTER_REGNUM != HARD_FRAME_POINTER_REGNUM
 	      || regno == HARD_FRAME_POINTER_REGNUM
@@ -12021,7 +12021,7 @@
       rtx where_dead = reg_last_death[regno];
       rtx before_dead, after_dead;
 
-      /* Don't move the register if it gets killed in between from and to */
+      /* Don't move the register if it gets killed in between from and to.  */
       if (maybe_kill_insn && reg_set_p (x, maybe_kill_insn)
 	  && ! reg_referenced_p (x, maybe_kill_insn))
 	return;
Index: loop.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/loop.c,v
retrieving revision 1.429
diff -u -r1.429 loop.c
--- loop.c	15 Oct 2002 14:38:10 -0000	1.429
+++ loop.c	27 Oct 2002 14:40:39 -0000
@@ -2475,7 +2475,7 @@
   loop_info->first_loop_store_insn = NULL_RTX;
   loop_info->mems_idx = 0;
   loop_info->num_mem_sets = 0;
-  /* If loop opts run twice, this was set on 1st pass for 2nd. */
+  /* If loop opts run twice, this was set on 1st pass for 2nd.  */
   loop_info->preconditioned = NOTE_PRECONDITIONED (end);
 
   for (insn = start; insn && GET_CODE (insn) != CODE_LABEL;
Index: real.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/real.c,v
retrieving revision 1.102
diff -u -r1.102 real.c
--- real.c	25 Oct 2002 21:58:12 -0000	1.102
+++ real.c	27 Oct 2002 14:40:41 -0000
@@ -1635,7 +1635,7 @@
 
   digit = rtd_divmod (&r, &pten);
 
-  /* Be prepared for error in that division via underflow ... */
+  /* Be prepared for error in that division via underflow ...  */
   if (digit == 0 && cmp_significand_0 (&r))
     {
       /* Multiply by 10 and try again.  */
Index: regclass.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/regclass.c,v
retrieving revision 1.158
diff -u -r1.158 regclass.c
--- regclass.c	26 Sep 2002 22:25:13 -0000	1.158
+++ regclass.c	27 Oct 2002 14:40:44 -0000
@@ -292,7 +292,7 @@
   memcpy (call_used_regs, initial_call_used_regs, sizeof call_used_regs);
   memset (global_regs, 0, sizeof global_regs);
 
-  /* Do any additional initialization regsets may need */
+  /* Do any additional initialization regsets may need.  */
   INIT_ONCE_REG_SET ();
 
 #ifdef REG_ALLOC_ORDER
@@ -2296,7 +2296,7 @@
   if (renumber_p)
     reg_renumber = renumber;
 
-  /* Tell the regset code about the new number of registers */
+  /* Tell the regset code about the new number of registers.  */
   MAX_REGNO_REG_SET (num_regs, new_p, renumber_p);
 }
 
Index: regmove.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/regmove.c,v
retrieving revision 1.133
diff -u -r1.133 regmove.c
--- regmove.c	26 Sep 2002 22:25:13 -0000	1.133
+++ regmove.c	27 Oct 2002 14:40:46 -0000
@@ -793,7 +793,7 @@
       p_move_notes = &REG_NOTES (move_insn);
       p_insn_notes = &REG_NOTES (insn);
 
-      /* Move any notes mentioning src to the move instruction */
+      /* Move any notes mentioning src to the move instruction.  */
       for (link = REG_NOTES (insn); link != NULL_RTX; link = next)
 	{
 	  next = XEXP (link, 1);
@@ -812,7 +812,7 @@
       *p_move_notes = NULL_RTX;
       *p_insn_notes = NULL_RTX;
 
-      /* Is the insn the head of a basic block?  If so extend it */
+      /* Is the insn the head of a basic block?  If so extend it.  */
       insn_uid = INSN_UID (insn);
       move_uid = INSN_UID (move_insn);
       if (insn_uid < old_max_uid)
Index: regrename.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/regrename.c,v
retrieving revision 1.61
diff -u -r1.61 regrename.c
--- regrename.c	14 Sep 2002 13:12:50 -0000	1.61
+++ regrename.c	27 Oct 2002 14:40:47 -0000
@@ -738,7 +738,7 @@
     }
 }
 
-/* Build def/use chain */
+/* Build def/use chain.  */
 
 static struct du_chain *
 build_def_use (bb)
Index: reg-stack.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/reg-stack.c,v
retrieving revision 1.115
diff -u -r1.115 reg-stack.c
--- reg-stack.c	26 Sep 2002 22:25:12 -0000	1.115
+++ reg-stack.c	27 Oct 2002 14:40:49 -0000
@@ -222,7 +222,7 @@
 /* The block we're currently working on.  */
 static basic_block current_block;
 
-/* This is the register file for all register after conversion */
+/* This is the register file for all register after conversion.  */
 static rtx
   FP_mode_reg[LAST_STACK_REG+1-FIRST_STACK_REG][(int) MAX_MACHINE_MODE];
 
@@ -379,7 +379,7 @@
   change_stack (insn, regstack, &temp_stack, EMIT_AFTER);
 }
 
-/* Pop a register from the stack */
+/* Pop a register from the stack.  */
 
 static void
 pop_stack (regstack, regno)
@@ -390,7 +390,7 @@
 
   CLEAR_HARD_REG_BIT (regstack->reg_set, regno);
   regstack->top--;
-  /* If regno was not at the top of stack then adjust stack */
+  /* If regno was not at the top of stack then adjust stack.  */
   if (regstack->reg [top] != regno)
     {
       int i;
@@ -1125,7 +1125,7 @@
 	  return;
 	}
 
-      /* The destination ought to be dead */
+      /* The destination ought to be dead.  */
       if (get_hard_regnum (regstack, dest) >= FIRST_STACK_REG)
 	abort ();
 
@@ -1181,7 +1181,7 @@
 	 stack. The stack mapping is changed to reflect that DEST is
 	 now at top of stack.  */
 
-      /* The destination ought to be dead */
+      /* The destination ought to be dead.  */
       if (get_hard_regnum (regstack, dest) >= FIRST_STACK_REG)
 	abort ();
 
Index: reload1.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/reload1.c,v
retrieving revision 1.360
diff -u -r1.360 reload1.c
--- reload1.c	27 Oct 2002 14:21:37 -0000	1.360
+++ reload1.c	27 Oct 2002 14:40:58 -0000
@@ -139,7 +139,7 @@
    when reg_reloaded_valid is set for this register.  */
 static rtx reg_reloaded_insn[FIRST_PSEUDO_REGISTER];
 
-/* Indicate if reg_reloaded_insn / reg_reloaded_contents is valid */
+/* Indicate if reg_reloaded_insn / reg_reloaded_contents is valid.  */
 static HARD_REG_SET reg_reloaded_valid;
 /* Indicate if the register was dead at the end of the reload.
    This is only valid if reg_reloaded_contents is set and valid.  */
@@ -1497,7 +1497,7 @@
 		  && REGNO (SET_SRC (set)) >= FIRST_PSEUDO_REGISTER)
 		{
 		  delete_insn (insn);
-		  /* Delete it from the reload chain */
+		  /* Delete it from the reload chain.  */
 		  if (chain->prev)
 		    chain->prev->next = next;
 		  else
Index: reload.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/reload.c,v
retrieving revision 1.195
diff -u -r1.195 reload.c
--- reload.c	24 Oct 2002 09:02:24 -0000	1.195
+++ reload.c	27 Oct 2002 14:41:05 -0000
@@ -6004,7 +6004,7 @@
     }
 }
 
-/* Change any replacements being done to *X to be done to *Y */
+/* Change any replacements being done to *X to be done to *Y.  */
 
 void
 move_replacements (x, y)
Index: reload.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/reload.h,v
retrieving revision 1.41
diff -u -r1.41 reload.h
--- reload.h	26 Sep 2002 22:25:13 -0000	1.41
+++ reload.h	27 Oct 2002 14:41:05 -0000
@@ -86,7 +86,7 @@
 /* Each reload is recorded with a structure like this.  */
 struct reload
 {
-  /* The value to reload from */
+  /* The value to reload from.  */
   rtx in;
   /* Where to store reload-reg afterward if nec (often the same as
      reload_in)  */
@@ -301,7 +301,7 @@
    the RTL.  */
 extern void copy_replacements PARAMS ((rtx, rtx));
 
-/* Change any replacements being done to *X to be done to *Y */
+/* Change any replacements being done to *X to be done to *Y.  */
 extern void move_replacements PARAMS ((rtx *x, rtx *y));
 
 /* If LOC was scheduled to be replaced by something, return the replacement.
Index: unroll.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/unroll.c,v
retrieving revision 1.182
diff -u -r1.182 unroll.c
--- unroll.c	7 Oct 2002 17:55:46 -0000	1.182
+++ unroll.c	27 Oct 2002 14:41:09 -0000
@@ -1136,7 +1136,7 @@
   /* And whether the loop has been preconditioned.  */
   loop_info->preconditioned = loop_preconditioned;
 
-  /* Remember whether it was preconditioned for the second loop pass. */
+  /* Remember whether it was preconditioned for the second loop pass.  */
   NOTE_PRECONDITIONED (loop->end) = loop_preconditioned;
 
   /* For each biv and giv, determine whether it can be safely split into


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]