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] Fix comment formatting.


Hi,

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

Kazu Hirata

2002-04-30  Kazu Hirata  <kazu@hxi.com>

	* cpplex.c: Fix comment formatting.
	* function.c: Likewise.
	* integrate.c: Likewise.
	* regrename.c: Likewise.
	* sibcall.c: Likewise.
	* simplify-rtx.c: Likewise.
	* tree-inline.c: Likewise.

Index: cpplex.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cpplex.c,v
retrieving revision 1.197
diff -u -r1.197 cpplex.c
--- cpplex.c	24 Apr 2002 22:18:25 -0000	1.197
+++ cpplex.c	30 Apr 2002 20:37:44 -0000
@@ -763,7 +763,7 @@
   buffer[0] = '/';
   memcpy (buffer + 1, from, len - 1);

-  /* Finish conversion to a C comment, if necessary. */
+  /* Finish conversion to a C comment, if necessary.  */
   if (pfile->state.in_directive && type == '/')
     {
       buffer[1] = '*';
Index: function.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/function.c,v
retrieving revision 1.360
diff -u -r1.360 function.c
--- function.c	23 Apr 2002 07:20:50 -0000	1.360
+++ function.c	30 Apr 2002 20:37:51 -0000
@@ -2567,7 +2567,7 @@
   if (BYTES_BIG_ENDIAN)
     /* If the PROMOTED_MODE is wider than the mode of the MEM, adjust
        the offset so that it points to the right location within the
-       MEM. */
+       MEM.  */
     offset -= (GET_MODE_SIZE (promoted_mode) - GET_MODE_SIZE (GET_MODE
(mem)));

   if (!flag_force_addr
Index: integrate.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/integrate.c,v
retrieving revision 1.190
diff -u -r1.190 integrate.c
--- integrate.c	25 Apr 2002 18:55:48 -0000	1.190
+++ integrate.c	30 Apr 2002 20:37:54 -0000
@@ -1396,7 +1396,7 @@
              memory references via that register can then be
              identified as static chain references.  We assume that
              the register is only assigned once, and that the static
-             chain address is only live in one register at a time. */
+             chain address is only live in one register at a time.  */

 	  else if (static_chain_value != 0
 		   && set != 0
Index: regrename.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/regrename.c,v
retrieving revision 1.46
diff -u -r1.46 regrename.c
--- regrename.c	25 Mar 2002 12:51:46 -0000	1.46
+++ regrename.c	30 Apr 2002 20:37:55 -0000
@@ -1108,7 +1108,7 @@
   /* SUBREGS are supposed to have been eliminated by now.  But some
      ports, e.g. i386 sse, use them to smuggle vector type information
      through to instruction selection.  Each such SUBREG should simplify,
-     so if we get a NULL  we've done something wrong elsewhere. */
+     so if we get a NULL  we've done something wrong elsewhere.  */

   if (GET_CODE (x) == SUBREG)
     x = simplify_subreg (GET_MODE (x), SUBREG_REG (x),
Index: sibcall.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/sibcall.c,v
retrieving revision 1.31
diff -u -r1.31 sibcall.c
--- sibcall.c	6 Apr 2002 19:42:21 -0000	1.31
+++ sibcall.c	30 Apr 2002 20:37:56 -0000
@@ -758,7 +758,7 @@
 	}

       /* Similarly, invalidate RTX_UNCHANGING_P for any incoming
-	 arguments passed in registers. */
+	 arguments passed in registers.  */
       for (arg = DECL_ARGUMENTS (current_function_decl);
 	   arg;
 	   arg = TREE_CHAIN (arg))
Index: simplify-rtx.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/simplify-rtx.c,v
retrieving revision 1.101
diff -u -r1.101 simplify-rtx.c
--- simplify-rtx.c	25 Mar 2002 20:52:13 -0000	1.101
+++ simplify-rtx.c	30 Apr 2002 20:37:58 -0000
@@ -1904,7 +1904,7 @@
       REAL_VALUE_FROM_CONST_DOUBLE (d0, trueop0);
       REAL_VALUE_FROM_CONST_DOUBLE (d1, trueop1);

-      /* Comparisons are unordered iff at least one of the values is NaN.
*/
+      /* Comparisons are unordered iff at least one of the values is NaN.
*/
       if (REAL_VALUE_ISNAN (d0) || REAL_VALUE_ISNAN (d1))
 	switch (code)
 	  {
Index: tree-inline.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree-inline.c,v
retrieving revision 1.21
diff -u -r1.21 tree-inline.c
--- tree-inline.c	27 Apr 2002 18:59:40 -0000	1.21
+++ tree-inline.c	30 Apr 2002 20:38:00 -0000
@@ -678,7 +678,7 @@
   /* Assume it is not inlinable.  */
   inlinable = 0;

-  /* The number of instructions (estimated) of current function. */
+  /* The number of instructions (estimated) of current function.  */
   currfn_insns = DECL_NUM_STMTS (fn) * INSNS_PER_STMT;

   /* If we're not inlining things, then nothing is inlinable.  */
@@ -709,7 +709,7 @@
   DECL_UNINLINABLE (fn) = ! inlinable;

   /* In case we don't disregard the inlining limits and we basically
-     can inline this function, investigate further. */
+     can inline this function, investigate further.  */
   if (! (*lang_hooks.tree_inlining.disregard_inline_limits) (fn)
       && inlinable)
     {
@@ -717,13 +717,13 @@
 		     + currfn_insns;
       /* In the extreme case that we have exceeded the recursive inlining
          limit by a huge factor (128), we just say no. Should not happen
-         in real life. */
+         in real life.  */
       if (sum_insns > MAX_INLINE_INSNS * 128)
 	 inlinable = 0;
       /* If we did not hit the extreme limit, we use a linear function
          with slope -1/MAX_INLINE_SLOPE to exceedingly decrease the
          allowable size. We always allow a size of MIN_INLINE_INSNS
-         though. */
+         though.  */
       else if ((sum_insns > MAX_INLINE_INSNS)
 	       && (currfn_insns > MIN_INLINE_INSNS))
         {
@@ -988,7 +988,7 @@

   /* Our function now has more statements than it did before.  */
   DECL_NUM_STMTS (VARRAY_TREE (id->fns, 0)) += DECL_NUM_STMTS (fn);
-  /* For accounting, subtract one for the saved call/ret. */
+  /* For accounting, subtract one for the saved call/ret.  */
   id->inlined_stmts += DECL_NUM_STMTS (fn) - 1;

   /* Recurse into the body of the just inlined function.  */



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