[patch] gcc/*.c: Fix comment formatting.
Kazu Hirata
kazu@hxi.com
Fri Jan 18 05:41:00 GMT 2002
Hi,
Attached is a patch to fix comment formatting. Committed as obvious.
Kazu Hirata
2002-01-18 Kazu Hirata <kazu@hxi.com>
* bitmap.h: Fix comment formatting.
* combine.c: Likewise.
* cppfiles.c: Likewise.
* c-pragma.h: Likewise.
* c-typeck.c: Likewise.
* df.c: Likewise.
* dwarf2out.c: Likewise.
* function.c: Likewise.
* gcc.c: Likewise.
* genattrtab.c: Likewise.
* gthr-win32.h: Likewise.
* haifa-sched.c: Likewise.
* predict.c: Likewise.
* rtlanal.c: Likewise.
* rtl.h: Likewise.
* unwind-dw2-fde.h: Likewise.
* unwind-pe.h: Likewise.
* vmsdbgout.c: Likewise.
Index: bitmap.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/bitmap.h,v
retrieving revision 1.25
diff -u -r1.25 bitmap.h
--- bitmap.h 2001/10/11 12:43:39 1.25
+++ bitmap.h 2002/01/18 13:32:58
@@ -1,5 +1,6 @@
/* Functions to support general ended bitmaps.
- Copyright (C) 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
+ Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002
+ Free Software Foundation, Inc.
This file is part of GCC.
@@ -311,7 +312,7 @@
\
if (ptr2_ == 0) \
{ \
- /* If there are no more elements in BITMAP2, exit loop now.*/ \
+ /* If there are no more elements in BITMAP2, exit loop now. */ \
ptr1_ = (bitmap_element *)0; \
break; \
} \
Index: combine.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/combine.c,v
retrieving revision 1.257
diff -u -r1.257 combine.c
--- combine.c 2002/01/14 15:37:55 1.257
+++ combine.c 2002/01/18 13:33:05
@@ -7057,7 +7057,7 @@
case NEG:
/* If we just want the low-order bit, the NEG isn't needed since it
- won't change the low-order bit. */
+ won't change the low-order bit. */
if (mask == 1)
return force_to_mode (XEXP (x, 0), mode, mask, reg, just_select);
Index: cppfiles.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cppfiles.c,v
retrieving revision 1.143
diff -u -r1.143 cppfiles.c
--- cppfiles.c 2002/01/14 19:45:11 1.143
+++ cppfiles.c 2002/01/18 13:33:08
@@ -94,7 +94,7 @@
};
/* Variable length record files on VMS will have a stat size that includes
- record control characters that won't be included in the read size. */
+ record control characters that won't be included in the read size. */
#ifdef VMS
# define FAB_C_VAR 2 /* variable length records (see Starlet fabdef.h) */
# define STAT_SIZE_TOO_BIG(ST) ((ST).st_fab_rfm == FAB_C_VAR)
Index: c-pragma.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/c-pragma.h,v
retrieving revision 1.25
diff -u -r1.25 c-pragma.h
--- c-pragma.h 2001/10/14 17:43:58 1.25
+++ c-pragma.h 2002/01/18 13:33:08
@@ -1,5 +1,6 @@
/* Pragma related interfaces.
- Copyright (C) 1995, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
+ Copyright (C) 1995, 1998, 1999, 2000, 2001, 2002
+ Free Software Foundation, Inc.
This file is part of GCC.
@@ -44,7 +45,7 @@
extern void init_pragma PARAMS ((void));
/* Duplicate prototypes for the register_pragma stuff and the typedef for
- cpp_reader, to avoid dragging cpplib.h in almost everywhere... */
+ cpp_reader, to avoid dragging cpplib.h in almost everywhere... */
#ifndef GCC_CPPLIB_H
typedef struct cpp_reader cpp_reader;
Index: c-typeck.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/c-typeck.c,v
retrieving revision 1.169
diff -u -r1.169 c-typeck.c
--- c-typeck.c 2002/01/15 16:28:47 1.169
+++ c-typeck.c 2002/01/18 13:33:09
@@ -4404,7 +4404,7 @@
}
else
{
- /* Function name unknown (call through ptr); just give arg number.*/
+ /* Function name unknown (call through ptr); just give arg number. */
const char *const argnofun = _("passing arg %d of pointer to function");
new_opname = (char *) alloca (strlen (argnofun) + 1 + 25 /*%d*/ + 1);
sprintf (new_opname, argnofun, argnum);
Index: df.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/df.c,v
retrieving revision 1.21
diff -u -r1.21 df.c
--- df.c 2001/11/28 12:10:38 1.21
+++ df.c 2002/01/18 13:33:11
@@ -1,5 +1,5 @@
/* Dataflow support routines.
- Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
+ Copyright (C) 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
Contributed by Michael P. Hayes (m.hayes@elec.canterbury.ac.nz,
mhayes@redhat.com)
@@ -1088,7 +1088,7 @@
insn, DF_REF_READ_WRITE);
break;
}
- /* ... FALLTHRU ... */
+ /* ... FALLTHRU ... */
case REG:
case PC:
break;
Index: dwarf2out.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/dwarf2out.c,v
retrieving revision 1.349
diff -u -r1.349 dwarf2out.c
--- dwarf2out.c 2002/01/13 12:01:19 1.349
+++ dwarf2out.c 2002/01/18 13:33:17
@@ -2106,7 +2106,7 @@
char label[MAX_ARTIFICIAL_LABEL_BYTES];
/* Output a label to mark the endpoint of the code generated for this
- function. */
+ function. */
ASM_GENERATE_INTERNAL_LABEL (label, FUNC_END_LABEL, current_funcdef_number);
ASM_OUTPUT_LABEL (asm_out_file, label);
fde = &fde_table[fde_table_in_use - 1];
@@ -8193,7 +8193,7 @@
TREE_OPERAND (loc, 0), TREE_OPERAND (loc, 1)),
TREE_OPERAND (loc, 1), TREE_OPERAND (loc, 0));
- /* ... fall through ... */
+ /* ... fall through ... */
case COND_EXPR:
{
@@ -8971,7 +8971,7 @@
case ERROR_MARK:
return;
- /* All fixed-bounds are represented by INTEGER_CST nodes. */
+ /* All fixed-bounds are represented by INTEGER_CST nodes. */
case INTEGER_CST:
if (! host_integerp (bound, 0)
|| (bound_attr == DW_AT_lower_bound
Index: function.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/function.c,v
retrieving revision 1.341
diff -u -r1.341 function.c
--- function.c 2002/01/05 22:11:20 1.341
+++ function.c 2002/01/18 13:33:20
@@ -5139,7 +5139,7 @@
/* offset_ptr will be negative for ARGS_GROW_DOWNWARD case;
initial_offset_ptr is positive because locate_and_pad_parm's
callers pass in the total size of args so far as
- initial_offset_ptr. arg_size_ptr is always positive.*/
+ initial_offset_ptr. arg_size_ptr is always positive. */
void
locate_and_pad_parm (passed_mode, type, in_regs, fndecl,
@@ -7164,7 +7164,7 @@
{
rtx sp_equiv_reg; /* REG that SP is set from, perhaps SP. */
HOST_WIDE_INT sp_offset; /* Offset from SP_EQUIV_REG of present SP. */
- rtx new_sp_equiv_reg; /* REG to be used at end of insn. */
+ rtx new_sp_equiv_reg; /* REG to be used at end of insn. */
HOST_WIDE_INT new_sp_offset; /* Offset to be used at end of insn. */
rtx equiv_reg_src; /* If nonzero, the value that SP_EQUIV_REG
should be set to once we no longer need
@@ -7184,7 +7184,7 @@
int i, j;
struct epi_info info;
- /* If the epilogue is just a single instruction, it ust be OK as is. */
+ /* If the epilogue is just a single instruction, it ust be OK as is. */
if (GET_CODE (seq) != SEQUENCE)
return seq;
Index: gcc.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/gcc.c,v
retrieving revision 1.286
diff -u -r1.286 gcc.c
--- gcc.c 2002/01/15 14:34:56 1.286
+++ gcc.c 2002/01/18 13:33:25
@@ -6019,7 +6019,7 @@
if (target_help_flag)
{
- /* Print if any target specific options.*/
+ /* Print if any target specific options. */
/* We do not exit here. Instead we have created a fake input file
called 'target-dummy' which needs to be compiled, and we pass this
Index: genattrtab.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/genattrtab.c,v
retrieving revision 1.108
diff -u -r1.108 genattrtab.c
--- genattrtab.c 2001/12/02 00:04:18 1.108
+++ genattrtab.c 2002/01/18 13:33:27
@@ -1,6 +1,6 @@
/* Generate code from machine description to compute values of attributes.
Copyright (C) 1991, 1993, 1994, 1995, 1996, 1997, 1998,
- 1999, 2000 Free Software Foundation, Inc.
+ 1999, 2000, 2002 Free Software Foundation, Inc.
Contributed by Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
This file is part of GCC.
@@ -231,7 +231,7 @@
struct function_unit_op *ops; /* Pointer to first operation type. */
int needs_conflict_function; /* Nonzero if a conflict function required. */
int needs_blockage_function; /* Nonzero if a blockage function required. */
- int needs_range_function; /* Nonzero if blockage range function needed.*/
+ int needs_range_function; /* Nonzero if blockage range function needed. */
rtx default_cost; /* Conflict cost, if constant. */
struct range issue_delay; /* Range of issue delay values. */
int max_blockage; /* Maximum time an insn blocks the unit. */
Index: gthr-win32.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/gthr-win32.h,v
retrieving revision 1.12
diff -u -r1.12 gthr-win32.h
--- gthr-win32.h 2001/11/19 00:24:52 1.12
+++ gthr-win32.h 2002/01/18 13:33:27
@@ -1,6 +1,6 @@
/* Threads compatibility routines for libgcc2 and libobjc. */
/* Compile this one with gcc. */
-/* Copyright (C) 1999, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1999, 2000, 2002 Free Software Foundation, Inc.
Contributed by Mumit Khan <khan@xraylith.wisc.edu>.
This file is part of GCC.
@@ -213,7 +213,7 @@
lasterror = GetLastError();
- ptr = TlsGetValue(__gthread_objc_data_tls); /* Return thread data. */
+ ptr = TlsGetValue(__gthread_objc_data_tls); /* Return thread data. */
SetLastError( lasterror );
Index: haifa-sched.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/haifa-sched.c,v
retrieving revision 1.192
diff -u -r1.192 haifa-sched.c
--- haifa-sched.c 2001/12/31 04:19:34 1.192
+++ haifa-sched.c 2002/01/18 13:33:27
@@ -1,6 +1,6 @@
/* Instruction scheduling pass.
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998,
- 1999, 2000, 2001 Free Software Foundation, Inc.
+ 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
Contributed by Michael Tiemann (tiemann@cygnus.com) Enhanced by,
and currently maintained by, Jim Wilson (wilson@cygnus.com)
@@ -1197,7 +1197,7 @@
}
/* Save line number notes for each insn in block B. HEAD and TAIL are
- the boundaries of the block in which notes should be processed.*/
+ the boundaries of the block in which notes should be processed. */
void
save_line_notes (b, head, tail)
@@ -1225,7 +1225,7 @@
/* After a block was scheduled, insert line notes into the insns list.
HEAD and TAIL are the boundaries of the block in which notes should
- be processed.*/
+ be processed. */
void
restore_line_notes (head, tail)
Index: predict.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/predict.c,v
retrieving revision 1.53
diff -u -r1.53 predict.c
--- predict.c 2002/01/07 21:15:12 1.53
+++ predict.c 2002/01/18 13:33:27
@@ -1,5 +1,5 @@
/* Branch prediction routines for the GNU compiler.
- Copyright (C) 2000, 2001 Free Software Foundation, Inc.
+ Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc.
This file is part of GCC.
@@ -25,7 +25,7 @@
[2] "Static Branch Frequency and Program Profile Analysis"
Wu and Larus; MICRO-27.
[3] "Corpus-based Static Branch Prediction"
- Calder, Grunwald, Lindsay, Martin, Mozer, and Zorn; PLDI '95. */
+ Calder, Grunwald, Lindsay, Martin, Mozer, and Zorn; PLDI '95. */
#include "config.h"
Index: rtlanal.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/rtlanal.c,v
retrieving revision 1.122
diff -u -r1.122 rtlanal.c
--- rtlanal.c 2002/01/15 13:38:03 1.122
+++ rtlanal.c 2002/01/18 13:33:28
@@ -301,7 +301,7 @@
/* Return the value of the integer term in X, if one is apparent;
otherwise return 0.
Only obvious integer terms are detected.
- This is used in cse.c with the `related_value' field.*/
+ This is used in cse.c with the `related_value' field. */
HOST_WIDE_INT
get_integer_term (x)
Index: rtl.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/rtl.h,v
retrieving revision 1.324
diff -u -r1.324 rtl.h
--- rtl.h 2002/01/03 05:11:05 1.324
+++ rtl.h 2002/01/18 13:33:28
@@ -875,7 +875,7 @@
#define MEM_IN_STRUCT_P(RTX) ((RTX)->in_struct)
/* For a MEM rtx, 1 if it refers to a scalar. If zero, RTX may or may
- not refer to a scalar.*/
+ not refer to a scalar. */
#define MEM_SCALAR_P(RTX) ((RTX)->frame_related)
/* If VAL is non-zero, set MEM_IN_STRUCT_P and clear MEM_SCALAR_P in
Index: unwind-dw2-fde.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/unwind-dw2-fde.h,v
retrieving revision 1.5
diff -u -r1.5 unwind-dw2-fde.h
--- unwind-dw2-fde.h 2001/11/11 11:25:28 1.5
+++ unwind-dw2-fde.h 2002/01/18 13:33:29
@@ -1,5 +1,6 @@
/* Subroutines needed for unwinding stack frames for exception handling. */
-/* Copyright (C) 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002
+ Free Software Foundation, Inc.
Contributed by Jason Merrill <jason@cygnus.com>.
This file is part of GCC.
@@ -54,7 +55,7 @@
unsigned long mixed_encoding : 1;
unsigned long encoding : 8;
/* ??? Wish there was an easy way to detect a 64-bit host here;
- we've got 32 bits left to play with... */
+ we've got 32 bits left to play with... */
unsigned long count : 21;
} b;
size_t i;
Index: unwind-pe.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/unwind-pe.h,v
retrieving revision 1.8
diff -u -r1.8 unwind-pe.h
--- unwind-pe.h 2001/08/31 09:49:09 1.8
+++ unwind-pe.h 2002/01/18 13:33:29
@@ -1,5 +1,5 @@
/* Exception handling and frame unwind runtime interface routines.
- Copyright (C) 2001 Free Software Foundation, Inc.
+ Copyright (C) 2001, 2002 Free Software Foundation, Inc.
This file is part of GCC.
@@ -22,7 +22,7 @@
compatibility problems with the base ABI. This is slightly better
than duplicating code, however. */
-/* If using C++, references to abort have to be qualified with std::. */
+/* If using C++, references to abort have to be qualified with std::. */
#if __cplusplus
#define __gxx_abort std::abort
#else
Index: vmsdbgout.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/vmsdbgout.c,v
retrieving revision 1.8
diff -u -r1.8 vmsdbgout.c
--- vmsdbgout.c 2002/01/10 16:55:13 1.8
+++ vmsdbgout.c 2002/01/18 13:33:31
@@ -72,7 +72,7 @@
#define ASM_COMMENT_START ";#"
#endif
-/* Maximum size (in bytes) of an artificially generated label. */
+/* Maximum size (in bytes) of an artificially generated label. */
#define MAX_ARTIFICIAL_LABEL_BYTES 30
/* Make sure we know the sizes of the various types debug can describe. These
@@ -1331,7 +1331,7 @@
if (debug_info_level > DINFO_LEVEL_NONE)
{
/* Output a label to mark the endpoint of the code generated for this
- function. */
+ function. */
ASM_GENERATE_INTERNAL_LABEL (label, FUNC_END_LABEL,
current_funcdef_number);
ASM_OUTPUT_LABEL (asm_out_file, label);
More information about the Gcc-patches
mailing list