[patch] Fix comment formatting.

Kazu Hirata kazu@hxi.com
Fri Dec 28 10:28:00 GMT 2001


Hi,

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

Kazu Hirata

2001-12-28  Kazu Hirata  <kazu@hxi.com>

	* except.c: Fix comment formatting.
	* flags.h: Likewise.
	* flow.c: Likewise.
	* predict.c: Likewise.
	* simplify-rtx.c: Likewise.
	* system.h: Likewise.
	* vmsdbg.h: Likewise.
	* vmsdbgout.c: Likewise.

Index: except.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/except.c,v
retrieving revision 1.207
diff -u -r1.207 except.c
--- except.c	2001/12/14 11:19:28	1.207
+++ except.c	2001/12/28 18:06:52
@@ -776,7 +776,7 @@
 /* Begin a catch clause.  TYPE is the type caught, a list of such types, or
    null if this is a catch-all clause. Providing a type list enables to
    associate the catch region with potentially several exception types, which
-   is useful e.g. for Ada. */
+   is useful e.g. for Ada.  */
 
 void
 expand_start_catch (type_or_list)
Index: flags.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/flags.h,v
retrieving revision 1.74
diff -u -r1.74 flags.h
--- flags.h	2001/12/13 11:34:05	1.74
+++ flags.h	2001/12/28 18:06:52
@@ -33,9 +33,9 @@
   DWARF_DEBUG,	    /* Write Dwarf debug info (using dwarfout.c).  */
   DWARF2_DEBUG,	    /* Write Dwarf v2 debug info (using dwarf2out.c).  */
   XCOFF_DEBUG,	    /* Write IBM/Xcoff debug info (using dbxout.c).  */
-  VMS_DEBUG,        /* Write VMS debug info (using vmsdbgout.c). */
+  VMS_DEBUG,        /* Write VMS debug info (using vmsdbgout.c).  */
   VMS_AND_DWARF2_DEBUG /* Write VMS debug info (using vmsdbgout.c).
-                          and DWARF v2 debug info (using dwarf2out.c). */
+                          and DWARF v2 debug info (using dwarf2out.c).  */
 };
 
 /* Specify which kind of debugging info to generate.  */
Index: flow.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/flow.c,v
retrieving revision 1.498
diff -u -r1.498 flow.c
--- flow.c	2001/12/12 01:53:43	1.498
+++ flow.c	2001/12/28 18:06:53
@@ -1377,7 +1377,7 @@
 	     Its preferable to have an instance of the register's rtl since
 	     there may be various flags set which we need to duplicate.  
 	     If we can't find it, its probably an automatic whose initial
-	     value doesn't matter, or hopefully something we don't care about. */
+	     value doesn't matter, or hopefully something we don't care about.  */
 	  for (i = get_insns (); i && INSN_UID (i) != uid; i = NEXT_INSN (i))
 	    ;
 	  if (i != NULL_RTX)
Index: predict.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/predict.c,v
retrieving revision 1.51
diff -u -r1.51 predict.c
--- predict.c	2001/12/22 15:37:09	1.51
+++ predict.c	2001/12/28 18:06:53
@@ -386,7 +386,7 @@
 	  /* ??? Postdominator claims each noreturn block to be postdominated
 	     by each, so we need to run only once.  This needs to be changed
 	     once postdominace algorithm is updated to say something more
-	     sane. */
+	     sane.  */
 	  found_noreturn = 1;
 	  for (y = 0; y < n_basic_blocks; y++)
 	    if (!TEST_BIT (post_dominators[y], i))
Index: simplify-rtx.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/simplify-rtx.c,v
retrieving revision 1.88
diff -u -r1.88 simplify-rtx.c
--- simplify-rtx.c	2001/12/20 08:26:19	1.88
+++ simplify-rtx.c	2001/12/28 18:06:53
@@ -109,7 +109,7 @@
 
 
 /* Negate a CONST_INT rtx, truncating (because a conversion from a
-   maximally negative number can overflow). */
+   maximally negative number can overflow).  */
 static rtx
 neg_const_int (mode, i)
      enum machine_mode mode;
Index: system.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/system.h,v
retrieving revision 1.109
diff -u -r1.109 system.h
--- system.h	2001/12/21 20:54:21	1.109
+++ system.h	2001/12/28 18:06:53
@@ -159,7 +159,7 @@
 
 #ifdef HAVE_SYS_PARAM_H
 # include <sys/param.h>
-/* We use this identifier later and it appears in some vendor param.h's. */
+/* We use this identifier later and it appears in some vendor param.h's.  */
 # undef PREFETCH
 #endif
 
Index: vmsdbg.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/vmsdbg.h,v
retrieving revision 1.4
diff -u -r1.4 vmsdbg.h
--- vmsdbg.h	2001/12/10 01:56:37	1.4
+++ vmsdbg.h	2001/12/28 18:06:54
@@ -52,11 +52,11 @@
 } DST_HEADER;
 #define DST_K_DST_HEADER_SIZE sizeof 4
 
-/* Language type codes. */
+/* Language type codes.  */
 typedef enum _DST_LANGUAGE {DST_K_FORTRAN = 1, DST_K_C = 7, DST_K_ADA = 9,
 			    DST_K_UNKNOWN = 10, DST_K_CXX = 15} DST_LANGUAGE;
 
-/* Module header (a module is the result of a single compilation). */
+/* Module header (a module is the result of a single compilation).  */
 
 typedef struct _DST_MODULE_BEGIN
 {
@@ -93,7 +93,7 @@
 } DST_MODULE_END;
 #define DST_K_MODEND_SIZE sizeof 4
 
-/* Routine header. */
+/* Routine header.  */
 
 typedef struct _DST_ROUTINE_BEGIN
 {
@@ -122,7 +122,7 @@
 } DST_ROUTINE_END;
 #define DST_K_RTNEND_SIZE 9
 
-/* Block header. */
+/* Block header.  */
 
 typedef struct _DST_BLOCK_BEGIN
 {
@@ -133,7 +133,7 @@
 } DST_BLOCK_BEGIN;
 #define DST_K_BLKBEG_SIZE 10
 
-/* Block trailer. */
+/* Block trailer.  */
 
 typedef struct _DST_BLOCK_END
 {
Index: vmsdbgout.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/vmsdbgout.c,v
retrieving revision 1.6
diff -u -r1.6 vmsdbgout.c
--- vmsdbgout.c	2001/12/10 11:22:17	1.6
+++ vmsdbgout.c	2001/12/28 18:06:54
@@ -86,7 +86,7 @@
 #define PTR_SIZE 4 /* Must be 32 bits for VMS debug info */
 #endif
 
-/* Pointer to an structure of filenames referenced by this compilation unit. */
+/* Pointer to an structure of filenames referenced by this compilation unit.  */
 static dst_file_info_ref file_info_table;
 
 /* Total number of entries in the table (i.e. array) pointed to by
@@ -524,7 +524,7 @@
 
 /* Output the debug header HEADER.  Also output COMMENT if flag_verbose_asm is
    set.  Return the header size.  Just return the size if DOSIZEONLY is
-   non-zero. */
+   non-zero.  */
 
 static int
 write_debug_header (header, comment, dosizeonly)
@@ -556,7 +556,7 @@
 
 /* Output the address of SYMBOL.  Also output COMMENT if flag_verbose_asm is
    set.  Return the address size.  Just return the size if DOSIZEONLY is
-   non-zero. */
+   non-zero.  */
 
 static int
 write_debug_addr (symbol, comment, dosizeonly)
@@ -577,7 +577,7 @@
 
 /* Output the single byte DATA1.  Also output COMMENT if flag_verbose_asm is
    set.  Return the data size.  Just return the size if DOSIZEONLY is
-   non-zero. */
+   non-zero.  */
 
 static int
 write_debug_data1 (data1, comment, dosizeonly)
@@ -598,7 +598,7 @@
 
 /* Output the single word DATA2.  Also output COMMENT if flag_verbose_asm is
    set.  Return the data size.  Just return the size if DOSIZEONLY is
-   non-zero. */
+   non-zero.  */
 
 static int
 write_debug_data2 (data2, comment, dosizeonly)
@@ -618,7 +618,7 @@
 }
 
 /* Output double word DATA4.  Also output COMMENT if flag_verbose_asm is set.
-   Return the data size.  Just return the size if DOSIZEONLY is non-zero. */
+   Return the data size.  Just return the size if DOSIZEONLY is non-zero.  */
 
 static int
 write_debug_data4 (data4, comment, dosizeonly)
@@ -659,7 +659,7 @@
 
 /* Output the difference between LABEL1 and LABEL2.  Also output COMMENT if
    flag_verbose_asm is set.  Return the data size.  Just return the size if
-   DOSIZEONLY is non-zero. */
+   DOSIZEONLY is non-zero.  */
 
 static int
 write_debug_delta4 (label1, label2, comment, dosizeonly)
@@ -681,7 +681,7 @@
 
 /* Output a character string STRING.  Also write COMMENT if flag_verbose_asm is
    set.  Return the string length.  Just return the length if DOSIZEONLY is
-   non-zero. */
+   non-zero.  */
 
 static int
 write_debug_string (string, comment, dosizeonly)
@@ -701,7 +701,7 @@
 }
 
 /* Output a module begin header and return the header size.  Just return the
-   size if DOSIZEONLY is non-zero. */
+   size if DOSIZEONLY is non-zero.  */
 
 static int
 write_modbeg (dosizeonly)
@@ -715,7 +715,7 @@
   int prodnamelen;
   int totsize = 0;
 
-  /* Assumes primary filename has Unix syntax file spec. */
+  /* Assumes primary filename has Unix syntax file spec.  */
   module_name = xstrdup (basename ((char *) primary_filename));
 
   m = strrchr (module_name, '.');
@@ -765,7 +765,7 @@
 }
 
 /* Output a module end trailer and return the trailer size.   Just return
-   the size if DOSIZEONLY is non-zero. */
+   the size if DOSIZEONLY is non-zero.  */
 
 static int
 write_modend (dosizeonly)
@@ -785,7 +785,7 @@
 }
 
 /* Output a routine begin header routine RTNNUM and return the header size.
-   Just return the size if DOSIZEONLY is non-zero. */
+   Just return the size if DOSIZEONLY is non-zero.  */
 
 static int
 write_rtnbeg (rtnnum, dosizeonly)
@@ -883,7 +883,7 @@
 }
 
 /* Output a routine end trailer for routine RTNNUM and return the header size.
-   Just return the size if DOSIZEONLY is non-zero. */
+   Just return the size if DOSIZEONLY is non-zero.  */
 
 static int
 write_rtnend (rtnnum, dosizeonly)
@@ -1058,7 +1058,7 @@
 
 /* Output a source correlation for file FILEID using information saved in
    FILE_INFO_ENTRY and return the size.  Just return the size if DOSIZEONLY is
-   non-zero. */
+   non-zero.  */
 
 static int
 write_srccorr (fileid, file_info_entry, dosizeonly)
@@ -1249,7 +1249,7 @@
 }
 
 /* Output all the source correlation entries and return the size.  Just return
-   the size if DOSIZEONLY is non-zero. */
+   the size if DOSIZEONLY is non-zero.  */
 
 static int
 write_srccorrs (dosizeonly)
@@ -1393,7 +1393,7 @@
 static char fullname_buff [4096];
 
 /* Return the full file specification for FILENAME.  The specification must be
-   in VMS syntax in order to be processed by VMS Debug. */
+   in VMS syntax in order to be processed by VMS Debug.  */
 
 static char *
 full_name (filename)
@@ -1706,7 +1706,7 @@
 
   /* Output debugging information.
      Warning! Do not change the name of the .vmsdebug section without
-     changing it in the assembler also. */
+     changing it in the assembler also.  */
   named_section (NULL_TREE, ".vmsdebug", 0);
   ASM_OUTPUT_ALIGN (asm_out_file, 0);
 



More information about the Gcc-patches mailing list