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-01-02  Kazu Hirata  <kazu@hxi.com>

	* config/romp/romp.c: Fix comment formatting.
	* config/romp/romp.h: Likewise.
	* config/romp/romp.md: Likewise.
	* config/s390/s390.c: Likewise.
	* config/stormy16/stormy16.c: Likewise.
	* config/stormy16/stormy16.h: Likewise.

Index: romp/romp.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/romp/romp.c,v
retrieving revision 1.19
diff -u -r1.19 romp.c
--- romp.c	2001/12/20 17:36:37	1.19
+++ romp.c	2002/01/02 06:42:11
@@ -190,7 +190,7 @@
       break;
 
     case CC_CLOBBER:
-      /* Insn clobbers CC. */
+      /* Insn clobbers CC.  */
       CC_STATUS_INIT;
       break;
 
@@ -221,7 +221,7 @@
       break;
 
     case CC_TBIT:
-      /* Insn sets T bit if result is non-zero.  Next insn must be branch. */
+      /* Insn sets T bit if result is non-zero.  Next insn must be branch.  */
       CC_STATUS_INIT;
       cc_status.flags = CC_IN_TB | CC_NOT_NEGATIVE;
       break;
@@ -323,7 +323,7 @@
   return memory_offset_in_range_p (op, mode, 0, 0);
 }
 
-/* Return 1 if OP is a valid operand for a `short' memory reference insn. */
+/* Return 1 if OP is a valid operand for a `short' memory reference insn.  */
 
 int
 short_memory_operand (op, mode)
@@ -339,7 +339,7 @@
 }
 
 /* Returns 1 if OP is a memory reference involving a symbolic constant
-   that is not in the constant pool. */
+   that is not in the constant pool.  */
 
 int
 symbolic_memory_operand (op, mode)
@@ -479,7 +479,7 @@
      return GET_CODE (op) == CONST_INT || register_operand (op, mode);
 }
 
-/* Return 1 if the operand is either a register or a valid D-type operand. */
+/* Return 1 if the operand is either a register or a valid D-type operand.  */
 
 int
 reg_or_D_operand (op, mode)
@@ -693,7 +693,7 @@
       break;
 
     case 's':
-      /* Null or "16" depending on whether the constant is greater than 16. */
+      /* Null or "16" depending on whether the constant is greater than 16.  */
       if (GET_CODE (x) != CONST_INT)
 	output_operand_lossage ("invalid %%s value");
 
@@ -1169,10 +1169,10 @@
      FILE *file;
      unsigned reg_offset;
 {
-  /* Convert the offset value to 4-byte words rather than bytes. */
+  /* Convert the offset value to 4-byte words rather than bytes.  */
   reg_offset = (reg_offset + 3) / 4;
 
-  /* Now output 1-4 bytes in encoded form. */
+  /* Now output 1-4 bytes in encoded form.  */
   if (reg_offset < (1 << 6))
     /* Fits into one byte */
     fprintf (file, "\t.byte %d\n", reg_offset);
@@ -1413,12 +1413,12 @@
 /* Structure to describe a floating-point operation.  */
 
 struct fp_op {
-  struct fp_op *next_same_hash;		/* Next op with same hash code. */
-  struct fp_op *next_in_mem;		/* Next op in memory. */
+  struct fp_op *next_same_hash;		/* Next op with same hash code.  */
+  struct fp_op *next_in_mem;		/* Next op in memory.  */
   int mem_offset;			/* Offset from data area.  */
   short size;				/* Size of block in bytes.  */
   short noperands;			/* Number of operands in block.  */
-  rtx ops[3];				/* RTL for operands. */
+  rtx ops[3];				/* RTL for operands.  */
   enum rtx_code opcode;			/* Operation being performed.  */
 };
 
@@ -1437,7 +1437,7 @@
 /* Subroutine number in file, to get unique "LF" labels.  */
 static int subr_number = 0;
 
-/* Current word offset in data area (includes header and any constant pool). */
+/* Current word offset in data area (includes header and any constant pool).  */
 int data_offset;
 
 /* Compute hash code for an RTX used in floating-point.  */
@@ -1557,7 +1557,7 @@
 
   /* Compute the size using the rules in Appendix A of the RT Linkage
      Convention (4.3/RT-PSD:5) manual.  These rules are a bit ambiguous,
-     but if we guess wrong, it will effect only efficiency, not correctness. */
+     but if we guess wrong, it will effect only efficiency, not correctness.  */
 
   /* Size = 24 + 32 for each non-fp (or fr7) */
   size = 24;
@@ -1588,11 +1588,11 @@
   if (op2 && GET_MODE (op2) != opmode)
     size += 12;
 
-  /* 12 more if first and third operand types not the same. */
+  /* 12 more if first and third operand types not the same.  */
   if (op2 && GET_MODE (op0) != GET_MODE (op2))
     size += 12;
 
-  /* CMP and CMPT need additional.  Also, compute size of save/restore here. */
+  /* CMP and CMPT need additional.  Also, compute size of save/restore here.  */
   if (code == EQ)
     size += 32;
   else if (code == GE)
@@ -1641,7 +1641,7 @@
 	    {
 	      if (REGNO (op0) == REGNO (op2))
 #if 1
-		/* This triggers a bug on the RT. */
+		/* This triggers a bug on the RT.  */
 		abort ();
 #else
 		size += fr0_avail ? 0 : 64;
@@ -1699,7 +1699,7 @@
         size += 4;
     }
 
-  /* Done with size computation!  Chain this in. */
+  /* Done with size computation!  Chain this in.  */
   fpop->size = size;
   data_offset += size / UNITS_PER_WORD;
   fpop->next_in_mem = 0;
@@ -2015,20 +2015,20 @@
 
   /* We really want to go from STACK_POINTER_REGNUM to
      FRAME_POINTER_REGNUM, but this isn't defined. So go the other
-     direction and negate. */
+     direction and negate.  */
   INITIAL_ELIMINATION_OFFSET (FRAME_POINTER_REGNUM, STACK_POINTER_REGNUM,
 			      fp_to_sp);
 
   /* The offset value points somewhere between the frame pointer and
      the stack pointer. What is up from the frame pointer is down from the
-     stack pointer. Therefore the negation in the offset value too. */
+     stack pointer. Therefore the negation in the offset value too.  */
 
   return -(offset+fp_to_sp+4);
 }
 
 /* Return the offset value of an argument having
    the given offset. Basically, we correct by going from a arg pointer to
-   stack pointer value. */
+   stack pointer value.  */
 
 int
 romp_debugger_arg_correction (offset)
Index: romp/romp.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/romp/romp.h,v
retrieving revision 1.22
diff -u -r1.22 romp.h
--- romp.h	2001/12/20 17:36:37	1.22
+++ romp.h	2002/01/02 06:42:11
@@ -44,7 +44,7 @@
 /* Flag to pass and return floating point values in floating point registers.
    Since this violates the linkage convention, we feel free to destroy fr2
    and fr3 on function calls.
-   fr1-fr3 are used to pass the arguments. */
+   fr1-fr3 are used to pass the arguments.  */
 #define TARGET_FP_REGS (target_flags & 4)
 
 /* Flag to return structures of more than one word in memory.  This is for
@@ -75,8 +75,8 @@
 /* target machine storage layout */
 
 /* Define this if most significant bit is lowest numbered
-   in instructions that operate on numbered bit-fields. */
-/* That is true on ROMP. */
+   in instructions that operate on numbered bit-fields.  */
+/* That is true on ROMP.  */
 #define BITS_BIG_ENDIAN 1
 
 /* Define this if most significant byte of a word is the lowest numbered.  */
@@ -87,7 +87,7 @@
    numbered. 
 
    For ROMP we can decide arbitrarily since there are no machine instructions
-   for them.  Might as well be consistent with bits and bytes. */
+   for them.  Might as well be consistent with bits and bytes.  */
 #define WORDS_BIG_ENDIAN 1
 
 /* number of bits in an addressable storage unit */
@@ -226,7 +226,7 @@
 
 /* Value is 1 if hard register REGNO can hold a value of machine-mode MODE.
    On ROMP, the cpu registers can hold any mode but the float registers
-   can hold only floating point. */
+   can hold only floating point.  */
 #define HARD_REGNO_MODE_OK(REGNO, MODE) \
   (! FP_REGNO_P (REGNO) || GET_MODE_CLASS (MODE) == MODE_FLOAT	\
    || GET_MODE_CLASS (MODE) == MODE_COMPLEX_FLOAT)
@@ -396,7 +396,7 @@
    just in move insns as that is the only place it is likely to occur.
 
    `S' means that this is the address of a constant pool location.  This is
-   equal to r14 plus a constant.  We also only check for this in move insns. */
+   equal to r14 plus a constant.  We also only check for this in move insns.  */
 
 #define EXTRA_CONSTRAINT(OP, C)				\
   ((C) == 'Q' ?						\
@@ -474,7 +474,7 @@
    of the first local allocated.
    On the ROMP, if we set the frame pointer to 15 words below the highest
    address of the highest local variable, the first 16 words will be
-   addressable via D-short insns. */
+   addressable via D-short insns.  */
 #define STARTING_FRAME_OFFSET 64
 
 /* If we generate an insn to push BYTES bytes,
@@ -1092,7 +1092,7 @@
 /* Define as C expression which evaluates to nonzero if the tablejump
    instruction expects the table to contain offsets from the address of the
    table.
-   Do not define this if the table should contain absolute addresses. */
+   Do not define this if the table should contain absolute addresses.  */
 /* #define CASE_VECTOR_PC_RELATIVE 1 */
 
 /* Specify the tree operation to be used to convert reals to integers.  */
@@ -1293,7 +1293,7 @@
 /* Set if condition code (really not-Z) is stored in `test bit'.  */
 #define CC_IN_TB	 01000
 
-/* Set if condition code is set by an unsigned compare. */
+/* Set if condition code is set by an unsigned compare.  */
 #define	CC_UNSIGNED        02000
 
 /* Store in cc_status the expressions
@@ -1359,7 +1359,7 @@
 #define ASM_GLOBALIZE_LABEL(FILE,NAME)	\
   do { fputs ("\t.globl ", FILE); assemble_name (FILE, NAME); fputs ("\n", FILE);} while (0)
 
-/* The prefix to add to user-visible assembler symbols. */
+/* The prefix to add to user-visible assembler symbols.  */
 
 #define USER_LABEL_PREFIX "_"
 
@@ -1371,7 +1371,7 @@
 
 /* This is how to output a label for a jump table.  Arguments are the same as
    for ASM_OUTPUT_INTERNAL_LABEL, except the insn for the jump table is
-   passed. */
+   passed.  */
 
 #define ASM_OUTPUT_CASE_LABEL(FILE,PREFIX,NUM,TABLEINSN)	\
 { ASM_OUTPUT_ALIGN (FILE, 2); ASM_OUTPUT_INTERNAL_LABEL (FILE, PREFIX, NUM); }
@@ -1402,7 +1402,7 @@
   fprintf (FILE, "\t.long L%d\n", VALUE)
 
 /* This is how to output an element of a case-vector that is relative.
-   Don't define this if it is not supported. */
+   Don't define this if it is not supported.  */
 
 /* #define ASM_OUTPUT_ADDR_DIFF_ELT(FILE, VALUE, REL) */
 
Index: romp/romp.md
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/romp/romp.md,v
retrieving revision 1.9
diff -u -r1.9 romp.md
--- romp.md	2001/11/04 02:12:13	1.9
+++ romp.md	2002/01/02 06:42:11
@@ -180,7 +180,7 @@
 	       || ((- const_val) & 0xffff0000) == 0
 	       || (unsigned) ((- const_val) + 0x8000) < 0x10000)
 	{
-	  /* Can do this by loading the negative constant and then negating. */
+	  /* Can do this by loading the negative constant and then negating.  */
 	  emit_move_insn (operands[0], GEN_INT (- const_val));
 	  emit_insn (gen_negsi2 (operands[0], operands[0]));
 	  DONE;
@@ -1130,7 +1130,7 @@
     }
   else if (INTVAL (operands[1]) == 8
 	   && (INTVAL (operands[2]) % 8 == 0))
-    ;				/* Accept aligned byte-wide field. */
+    ;				/* Accept aligned byte-wide field.  */
   else
     FAIL;
 }")
Index: s390/s390.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/s390/s390.c,v
retrieving revision 1.19
diff -u -r1.19 s390.c
--- s390.c	2001/12/17 15:05:38	1.19
+++ s390.c	2002/01/02 06:42:12
@@ -2993,7 +2993,7 @@
     }      
 }
 
-/* Expand the epilogue into a bunch of separate insns. */
+/* Expand the epilogue into a bunch of separate insns.  */
 
 void
 s390_emit_epilogue ()
Index: stormy16/stormy16.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/stormy16/stormy16.c,v
retrieving revision 1.16
diff -u -r1.16 stormy16.c
--- stormy16.c	2001/12/17 15:05:39	1.16
+++ stormy16.c	2002/01/02 06:42:12
@@ -976,7 +976,7 @@
       }
 
   /* It's just possible that the SP here might be what we need for
-     the new FP... */
+     the new FP...  */
   if (frame_pointer_needed && layout.sp_minus_fp == layout.locals_size)
     {
       insn = emit_move_insn (hard_frame_pointer_rtx, stack_pointer_rtx);
Index: stormy16/stormy16.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/stormy16/stormy16.h,v
retrieving revision 1.28
diff -u -r1.28 stormy16.h
--- stormy16.h	2001/12/20 17:36:38	1.28
+++ stormy16.h	2002/01/02 06:42:14
@@ -211,12 +211,12 @@
 /* #define MULTILIB_DEFAULTS {} */
 
 /* Define this macro to tell `gcc' that it should only translate a `-B' prefix
-   into a `-L' linker option if the prefix indicates an absolute file name. */
+   into a `-L' linker option if the prefix indicates an absolute file name.  */
 /* #define RELATIVE_PREFIX_NOT_LINKDIR */
 
 /* Define this macro as a C string constant if you wish to override the
    standard choice of `/usr/local/lib/gcc-lib/' as the default prefix to try
-   when searching for the executable files of the compiler. */
+   when searching for the executable files of the compiler.  */
 /* #define STANDARD_EXEC_PREFIX "" */
 
 /* If defined, this macro is an additional prefix to try after
@@ -228,7 +228,7 @@
 
 /* Define this macro as a C string constant if you wish to override the
    standard choice of `/usr/local/lib/' as the default prefix to try when
-   searching for startup files such as `crt0.o'. */
+   searching for startup files such as `crt0.o'.  */
 /* #define STANDARD_STARTFILE_PREFIX "" */
 
 /* If defined, this macro supplies an additional prefix to try after the
@@ -240,13 +240,13 @@
 
 /* If defined, this macro supplies yet another prefix to try after the standard
    prefixes.  It is not searched when the `-b' option is used, or when the
-   compiler is built as a cross compiler. */
+   compiler is built as a cross compiler.  */
 /* #define MD_STARTFILE_PREFIX_1 "" */
 
 /* Define this macro as a C string constant if you with to set environment
    variables for programs called by the driver, such as the assembler and
    loader.  The driver passes the value of this macro to `putenv' to initialize
-   the necessary environment variables. */
+   the necessary environment variables.  */
 /* #define INIT_ENVIRONMENT "" */
 
 /* Define this macro as a C string constant if you wish to override the
@@ -264,7 +264,7 @@
    search order.
 
    Cross compilers do not use this macro and do not search the directory
-   specified. */
+   specified.  */
 /* #define SYSTEM_INCLUDE_DIR "" */
 
 /* Define this macro as a C string constant if you wish to override the
@@ -272,7 +272,7 @@
    searching for header files.
 
    Cross compilers do not use this macro and do not search either
-   `/usr/include' or its replacement. */
+   `/usr/include' or its replacement.  */
 /* #define STANDARD_INCLUDE_DIR "" */
 
 /* Define this macro if you wish to override the entire default search path for
@@ -376,7 +376,7 @@
    instruction patterns.  Note how `TARGET_68020' appears frequently in the
    68000 machine description file, `m68k.md'.  Another place they are used is
    in the definitions of the other macros in the `MACHINE.h' file.  */
-/* #define TARGET_... */
+/* #define TARGET_...  */
 
 /* This macro defines names of command options to set and clear bits in
    `target_flags'.  Its definition is an initializer with a subgrouping for
@@ -2802,7 +2802,7 @@
 
    On most machines, you don't need to define any of these macros, because the
    C compiler that comes with the system takes care of doing them.  */
-/* #define perform_... */
+/* #define perform_...  */
 
 /* Define this macro to generate code for Objective C message sending using the
    calling convention of the NeXT system.  This calling convention involves
@@ -4574,7 +4574,7 @@
    This does nothing if the expected type does not exist.
 
    See the function `init_decl_processing' in `c-decl.c' to find the names to
-   use for all the built-in C types. */
+   use for all the built-in C types.  */
 /* #define DBX_OUTPUT_STANDARD_TYPES(SYMS) */
 
 /* Some stabs encapsulation formats (in particular ECOFF), cannot
@@ -4673,7 +4673,7 @@
    assembler directives.  See `sdbout.c' for a list of these macros and their
    arguments.  If the standard syntax is used, you need not define them
    yourself.  */
-/* #define PUT_SDB_... */
+/* #define PUT_SDB_...  */
 
 /* Some assemblers do not support a semicolon as a delimiter, even between SDB
    assembler directives.  In that case, define this macro to be the delimiter
@@ -4734,7 +4734,7 @@
 /* Define as C expression which evaluates to nonzero if the tablejump
    instruction expects the table to contain offsets from the address of the
    table.
-   Do not define this if the table should contain absolute addresses. */
+   Do not define this if the table should contain absolute addresses.  */
 /* #define CASE_VECTOR_PC_RELATIVE 1 */
 
 /* Define this if control falls through a `case' insn when the index value is
@@ -4978,7 +4978,7 @@
 #define HANDLE_SYSV_PRAGMA
 
 /* Define this macro if you want to support the Win32 style pragmas
-   #pragma pack(push,<n>) and #pragma pack(pop). */
+   #pragma pack(push,<n>) and #pragma pack(pop).  */
 /* HANDLE_PRAGMA_PACK_PUSH_POP 1 */
    
 /* Define this macro to control use of the character `$' in identifier names.
@@ -5063,7 +5063,7 @@
 /* #define MAX_CONDITIONAL_EXECUTE */
 
 /* A C statement that adds to tree CLOBBERS a set of STRING_CST trees for any
-   hard regs the port wishes to automatically clobber for all asms. */
+   hard regs the port wishes to automatically clobber for all asms.  */
 /* #define MD_ASM_CLOBBERS(CLOBBERS) */
 
 /* Indicate how many instructions can be issued at the same time.  */
@@ -5072,7 +5072,7 @@
 /* A C statement which is executed by the Haifa scheduler at the beginning of
    each block of instructions that are to be scheduled.  FILE is either a null
    pointer, or a stdio stream to write any debug output to.  VERBOSE is the
-   verbose level provided by -fsched-verbose-<n>. */
+   verbose level provided by -fsched-verbose-<n>.  */
 /* #define MD_SCHED_INIT (FILE, VERBOSE) */
 
 /* A C statement which is executed by the Haifa scheduler after it has scheduled
@@ -5093,7 +5093,7 @@
    to write any debug output to.  VERBOSE is the verbose level provided by
    -fsched-verbose-<n>.  INSN is the instruction that was scheduled.  MORE is the
    number of instructions that can be issued in the current cycle.  This macro
-   is responsible for updating the value of MORE (typically by (MORE)--). */
+   is responsible for updating the value of MORE (typically by (MORE)--).  */
 /* #define MD_SCHED_VARIABLE_ISSUE (FILE, VERBOSE, INSN, MORE) */
 
 /* Define this to the largest integer machine mode which can be used for
@@ -5104,7 +5104,7 @@
 
 /* Define this macro as a C string constant for the linker argument to link in the
    system math library, or "" if the target does not have a separate math library.
-   You need only define this macro if the default of "-lm" is wrong. */
+   You need only define this macro if the default of "-lm" is wrong.  */
 /* #define  MATH_LIBRARY */
 
 /* Define the information needed to generate branch and scc insns.  This is


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