aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2003-08-19 21:04:38 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2003-08-19 21:04:38 +0000
commit59e4e217ae04230110961dfa6e0d7905189e7edc (patch)
tree65a1b182fb86bfce6ef7b7223a461de628f18346
parent1ee93c1b047f574e69996666ff3f740ac56705e4 (diff)
downloadgcc-59e4e217ae04230110961dfa6e0d7905189e7edc.zip
gcc-59e4e217ae04230110961dfa6e0d7905189e7edc.tar.gz
gcc-59e4e217ae04230110961dfa6e0d7905189e7edc.tar.bz2
c-common.c: Fix comment formatting.
* c-common.c: Fix comment formatting. * c-common.h: Likewise. * c-decl.c: Likewise. * cppinit.c: Likewise. * cpplib.h: Likewise. * emit-rtl.c: Likewise. * input.h: Likewise. * line-map.h: Likewise. * opts.c: Likewise. * opts.h: Likewise. * simplify-rtx.c: Likewise. From-SVN: r70577
-rw-r--r--gcc/ChangeLog14
-rw-r--r--gcc/c-common.c8
-rw-r--r--gcc/c-common.h2
-rw-r--r--gcc/c-decl.c2
-rw-r--r--gcc/cppinit.c2
-rw-r--r--gcc/cpplib.h2
-rw-r--r--gcc/emit-rtl.c2
-rw-r--r--gcc/input.h2
-rw-r--r--gcc/line-map.h4
-rw-r--r--gcc/opts.c2
-rw-r--r--gcc/opts.h4
-rw-r--r--gcc/simplify-rtx.c12
12 files changed, 35 insertions, 21 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 17e94cf..37f746e 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,17 @@
+2003-08-19 Kazu Hirata <kazu@cs.umass.edu>
+
+ * c-common.c: Fix comment formatting.
+ * c-common.h: Likewise.
+ * c-decl.c: Likewise.
+ * cppinit.c: Likewise.
+ * cpplib.h: Likewise.
+ * emit-rtl.c: Likewise.
+ * input.h: Likewise.
+ * line-map.h: Likewise.
+ * opts.c: Likewise.
+ * opts.h: Likewise.
+ * simplify-rtx.c: Likewise.
+
2003-08-19 Daniel Jacobowitz <drow@mvista.com>
* unwind-c.c: Add libgcc-style exception.
diff --git a/gcc/c-common.c b/gcc/c-common.c
index 7b09e5d..cc9caf7 100644
--- a/gcc/c-common.c
+++ b/gcc/c-common.c
@@ -413,7 +413,7 @@ int warn_main;
int warn_sequence_point;
/* Nonzero means warn about uninitialized variable when it is initialized with itself.
- For example: int i = i;, GCC will not warn about this when warn_init_self is nonzero. */
+ For example: int i = i;, GCC will not warn about this when warn_init_self is nonzero. */
int warn_init_self;
@@ -5739,7 +5739,7 @@ c_estimate_num_insns (tree decl)
static tree
c_decl_uninit_1 (tree *t, int *walk_sub_trees, void *x)
{
- /* If x = EXP(&x)EXP, then do not warn about the use of x. */
+ /* If x = EXP(&x)EXP, then do not warn about the use of x. */
if (TREE_CODE (*t) == ADDR_EXPR && TREE_OPERAND (*t, 0) == x)
{
*walk_sub_trees = 0;
@@ -5755,11 +5755,11 @@ c_decl_uninit_1 (tree *t, int *walk_sub_trees, void *x)
bool
c_decl_uninit (tree t)
{
- /* int x = x; is GCC extension to turn off this warning, only if warn_init_self is zero. */
+ /* int x = x; is GCC extension to turn off this warning, only if warn_init_self is zero. */
if (DECL_INITIAL (t) == t)
return warn_init_self ? true : false;
- /* Walk the trees looking for the variable itself. */
+ /* Walk the trees looking for the variable itself. */
if (walk_tree_without_duplicates (&DECL_INITIAL (t), c_decl_uninit_1, t))
return true;
return false;
diff --git a/gcc/c-common.h b/gcc/c-common.h
index d38a6e4..73a932c 100644
--- a/gcc/c-common.h
+++ b/gcc/c-common.h
@@ -574,7 +574,7 @@ extern int warn_main;
extern int warn_sequence_point;
/* Nonzero means warn about uninitialized variable when it is initialized with itself.
- For example: int i = i;, GCC will not warn about this when warn_init_self is nonzero. */
+ For example: int i = i;, GCC will not warn about this when warn_init_self is nonzero. */
extern int warn_init_self;
diff --git a/gcc/c-decl.c b/gcc/c-decl.c
index ac2089c..feef990 100644
--- a/gcc/c-decl.c
+++ b/gcc/c-decl.c
@@ -461,7 +461,7 @@ pushlevel (int dummy ATTRIBUTE_UNUSED)
The outermost block of a function always gets a BLOCK node,
because the debugging output routines expect that each
- function has at least one BLOCK. */
+ function has at least one BLOCK. */
current_scope->parm_flag = false;
current_scope->function_body = true;
current_scope->keep = true;
diff --git a/gcc/cppinit.c b/gcc/cppinit.c
index fac160c..351ce18 100644
--- a/gcc/cppinit.c
+++ b/gcc/cppinit.c
@@ -435,7 +435,7 @@ cpp_add_dependency_target (cpp_reader *pfile, const char *target, int quote)
}
/* This is called after options have been parsed, and partially
- processed. */
+ processed. */
void
cpp_post_options (cpp_reader *pfile)
{
diff --git a/gcc/cpplib.h b/gcc/cpplib.h
index b6f58a9..b63f363 100644
--- a/gcc/cpplib.h
+++ b/gcc/cpplib.h
@@ -537,7 +537,7 @@ extern const char *cpp_read_main_file (cpp_reader *, const char *);
extern void cpp_init_builtins (cpp_reader *, int);
/* This is called after options have been parsed, and partially
- processed. */
+ processed. */
extern void cpp_post_options (cpp_reader *);
/* Set up translation to the target character set. */
diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c
index 95b40ec..45ff41c 100644
--- a/gcc/emit-rtl.c
+++ b/gcc/emit-rtl.c
@@ -5317,7 +5317,7 @@ init_emit_once (int line_numbers)
enum machine_mode mode;
enum machine_mode double_mode;
- /* We need reg_raw_mode, so initialize the modes now. */
+ /* We need reg_raw_mode, so initialize the modes now. */
init_reg_modes_once ();
/* Initialize the CONST_INT, CONST_DOUBLE, and memory attribute hash
diff --git a/gcc/input.h b/gcc/input.h
index 7d08e11..fba597e 100644
--- a/gcc/input.h
+++ b/gcc/input.h
@@ -23,7 +23,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#define GCC_INPUT_H
/* The data structure used to record a location in a translation unit. */
-/* Long-term, we want to get rid of this and typedef fileline location_t. */
+/* Long-term, we want to get rid of this and typedef fileline location_t. */
struct location_s GTY (())
{
/* The name of the source file involved. */
diff --git a/gcc/line-map.h b/gcc/line-map.h
index 983ba69..b53f5e0 100644
--- a/gcc/line-map.h
+++ b/gcc/line-map.h
@@ -30,9 +30,9 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
(e.g. a #line directive in C). */
enum lc_reason {LC_ENTER = 0, LC_LEAVE, LC_RENAME};
-/* A logical line number, i,e, an "index" into a line_map. */
+/* A logical line number, i,e, an "index" into a line_map. */
/* Long-term, we want to use this to replace struct location_s (in input.h),
- and effectively typedef fileline location_t. */
+ and effectively typedef fileline location_t. */
typedef unsigned int fileline;
/* The logical line FROM_LINE maps to physical source file TO_FILE at
diff --git a/gcc/opts.c b/gcc/opts.c
index c9f8c6a..24741da 100644
--- a/gcc/opts.c
+++ b/gcc/opts.c
@@ -148,7 +148,7 @@ static unsigned int columns = 80;
/* What to print when a switch has no documentation. */
static const char undocumented_msg[] = N_("This switch lacks documentation");
-/* Input file names. */
+/* Input file names. */
const char **in_fnames;
unsigned num_in_fnames;
diff --git a/gcc/opts.h b/gcc/opts.h
index 6063057..eb7c868 100644
--- a/gcc/opts.h
+++ b/gcc/opts.h
@@ -45,11 +45,11 @@ extern const char *const lang_names[];
#define CL_COMMON (1 << 29) /* Language-independent. */
#define CL_UNDOCUMENTED (1 << 30) /* Do not output with --help. */
-/* Input file names. */
+/* Input file names. */
extern const char **in_fnames;
-/* The count of input filenames. */
+/* The count of input filenames. */
extern unsigned num_in_fnames;
diff --git a/gcc/simplify-rtx.c b/gcc/simplify-rtx.c
index a5903ad..ddd55cc 100644
--- a/gcc/simplify-rtx.c
+++ b/gcc/simplify-rtx.c
@@ -130,7 +130,7 @@ avoid_constant_pool_reference (rtx x)
addr = XEXP (x, 0);
- /* Call target hook to avoid the effects of -fpic etc... */
+ /* Call target hook to avoid the effects of -fpic etc.... */
addr = (*targetm.delegitimize_address) (addr);
if (GET_CODE (addr) == LO_SUM)
@@ -1041,7 +1041,7 @@ simplify_binary_operation (enum rtx_code code, enum machine_mode mode,
neg_double (l2, h2, &lv, &hv);
l2 = lv, h2 = hv;
- /* .. fall through ... */
+ /* Fall through.... */
case PLUS:
add_double (l1, h1, l2, h2, &lv, &hv);
@@ -1542,7 +1542,7 @@ simplify_binary_operation (enum rtx_code code, enum machine_mode mode,
&& (arg1 = exact_log2 (INTVAL (trueop1))) > 0)
return simplify_gen_binary (LSHIFTRT, mode, op0, GEN_INT (arg1));
- /* ... fall through ... */
+ /* Fall through.... */
case DIV:
if (trueop1 == CONST1_RTX (mode))
@@ -1594,7 +1594,7 @@ simplify_binary_operation (enum rtx_code code, enum machine_mode mode,
return simplify_gen_binary (AND, mode, op0,
GEN_INT (INTVAL (op1) - 1));
- /* ... fall through ... */
+ /* Fall through.... */
case MOD:
if ((trueop0 == const0_rtx || trueop1 == const1_rtx)
@@ -1611,7 +1611,7 @@ simplify_binary_operation (enum rtx_code code, enum machine_mode mode,
&& ! side_effects_p (op1))
return op0;
- /* ... fall through ... */
+ /* Fall through.... */
case ASHIFT:
case LSHIFTRT:
@@ -3163,7 +3163,7 @@ simplify_rtx (rtx x)
if (swap_commutative_operands_p (XEXP (x, 0), XEXP (x, 1)))
return simplify_gen_binary (code, mode, XEXP (x, 1), XEXP (x, 0));
- /* ... fall through ... */
+ /* Fall through.... */
case '2':
return simplify_binary_operation (code, mode, XEXP (x, 0), XEXP (x, 1));