diff options
author | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-02-27 07:09:43 +0000 |
---|---|---|
committer | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-02-27 07:09:43 +0000 |
commit | aab2cf92f98dc58ac1bffb472b685b9b73f71529 (patch) | |
tree | f41f4b240dc12ae9461209e19a5a72a2a6dc5e0d /gcc | |
parent | 93efbc0929b38b3f66213e1b2d92fc1f8365c6ed (diff) | |
download | gcc-aab2cf92f98dc58ac1bffb472b685b9b73f71529.tar.gz |
* c-decl.c, c-ppoutput.c, combine.c, cppfiles.c, dwarf2out.c,
expr.c, fold-const.c, gcc.c, haifa-sched.c, loop-iv.c,
params.def, read-rtl.c, rtl.c, rtlanal.c, toplev.c: Fix
comment typos and formatting. Follow spelling conventions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78555 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/c-decl.c | 4 | ||||
-rw-r--r-- | gcc/c-ppoutput.c | 2 | ||||
-rw-r--r-- | gcc/combine.c | 2 | ||||
-rw-r--r-- | gcc/cppfiles.c | 2 | ||||
-rw-r--r-- | gcc/dwarf2out.c | 4 | ||||
-rw-r--r-- | gcc/expr.c | 2 | ||||
-rw-r--r-- | gcc/fold-const.c | 2 | ||||
-rw-r--r-- | gcc/gcc.c | 2 | ||||
-rw-r--r-- | gcc/haifa-sched.c | 2 | ||||
-rw-r--r-- | gcc/loop-iv.c | 12 | ||||
-rw-r--r-- | gcc/params.def | 2 | ||||
-rw-r--r-- | gcc/read-rtl.c | 2 | ||||
-rw-r--r-- | gcc/rtl.c | 2 | ||||
-rw-r--r-- | gcc/rtlanal.c | 2 | ||||
-rw-r--r-- | gcc/toplev.c | 2 |
16 files changed, 29 insertions, 22 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cb4c1fc188b..a0677fe4874 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2004-02-27 Kazu Hirata <kazu@cs.umass.edu> + + * c-decl.c, c-ppoutput.c, combine.c, cppfiles.c, dwarf2out.c, + expr.c, fold-const.c, gcc.c, haifa-sched.c, loop-iv.c, + params.def, read-rtl.c, rtl.c, rtlanal.c, toplev.c: Fix + comment typos and formatting. Follow spelling conventions. + 2004-02-26 Aldy Hernandez <aldyh@redhat.com> * config/rs6000/rs6000.md: Add fixuns_truncsfsi2 and diff --git a/gcc/c-decl.c b/gcc/c-decl.c index 01f1761864b..1145363a643 100644 --- a/gcc/c-decl.c +++ b/gcc/c-decl.c @@ -611,7 +611,7 @@ poplevel (int keep, int dummy ATTRIBUTE_UNUSED, int functionbody) && DECL_NAME (p) && !DECL_ARTIFICIAL (p)) warning ("%Junused variable `%D'", p, p); - /* fall through */ + /* Fall through. */ default: normal: @@ -1016,7 +1016,7 @@ diagnose_mismatched_decls (tree newdecl, tree olddecl, if (TREE_CODE (newdecl) == TYPE_DECL) { if (DECL_IN_SYSTEM_HEADER (newdecl) || DECL_IN_SYSTEM_HEADER (olddecl)) - return true; /* allow OLDDECL to continue in use */ + return true; /* Allow OLDDECL to continue in use. */ error ("%Jredefinition of typedef '%D'", newdecl, newdecl); locate_old_decl (olddecl, error); diff --git a/gcc/c-ppoutput.c b/gcc/c-ppoutput.c index 24be879acb3..4d83b5d01e2 100644 --- a/gcc/c-ppoutput.c +++ b/gcc/c-ppoutput.c @@ -36,7 +36,7 @@ static struct const cpp_token *source; /* Source token for spacing. */ int src_line; /* Line number currently being written. */ unsigned char printed; /* Nonzero if something output at line. */ - bool first_time; /* pp_file_change hasn't been called yet. */ + bool first_time; /* pp_file_change hasn't been called yet. */ } print; /* General output routines. */ diff --git a/gcc/combine.c b/gcc/combine.c index 9e541ad61f2..b7cad3fcbad 100644 --- a/gcc/combine.c +++ b/gcc/combine.c @@ -1452,7 +1452,7 @@ try_combine (rtx i3, rtx i2, rtx i1, int *new_direct_jump_p) int added_sets_1, added_sets_2; /* Total number of SETs to put into I3. */ int total_sets; - /* Nonzero is I2's body now appears in I3. */ + /* Nonzero if I2's body now appears in I3. */ int i2_is_used; /* INSN_CODEs for new I3, new I2, and user of condition code. */ int insn_code_number, i2_code_number = 0, other_code_number = 0; diff --git a/gcc/cppfiles.c b/gcc/cppfiles.c index 3a42e78639b..b40521b5ed6 100644 --- a/gcc/cppfiles.c +++ b/gcc/cppfiles.c @@ -109,7 +109,7 @@ struct _cpp_file /* If BUFFER above contains the true contents of the file. */ bool buffer_valid; - /* File is a PCH (on return from find_include_file). */ + /* File is a PCH (on return from find_include_file). */ bool pch; }; diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 0bfe62c4efc..841827ba597 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -9873,7 +9873,7 @@ add_bound_info (dw_die_ref subrange_die, enum dwarf_attribute bound_attr, tree b || (bound_attr == DW_AT_lower_bound && (((is_c_family () || is_java ()) && integer_zerop (bound)) || (is_fortran () && integer_onep (bound))))) - /* use the default */ + /* Use the default. */ ; else add_AT_unsigned (subrange_die, bound_attr, tree_low_cst (bound, 0)); @@ -12882,7 +12882,7 @@ dwarf2out_source_line (unsigned int line, const char *filename) (*targetm.asm_out.internal_label) (asm_out_file, SEPARATE_LINE_CODE_LABEL, separate_line_info_table_in_use); - /* expand the line info table if necessary */ + /* Expand the line info table if necessary. */ if (separate_line_info_table_in_use == separate_line_info_table_allocated) { diff --git a/gcc/expr.c b/gcc/expr.c index 907d30c4006..bf1460649f3 100644 --- a/gcc/expr.c +++ b/gcc/expr.c @@ -645,7 +645,7 @@ convert_move (rtx to, rtx from, int unsignedp) if (to_mode == full_mode) return; - /* else proceed to integer conversions below */ + /* else proceed to integer conversions below. */ from_mode = full_mode; } diff --git a/gcc/fold-const.c b/gcc/fold-const.c index 2b2e874062b..956478af001 100644 --- a/gcc/fold-const.c +++ b/gcc/fold-const.c @@ -718,7 +718,7 @@ div_and_round_double (enum tree_code code, int uns, if (quo_neg) neg_double (*lquo, *hquo, lquo, hquo); - /* compute trial remainder: rem = num - (quo * den) */ + /* Compute trial remainder: rem = num - (quo * den) */ mul_double (*lquo, *hquo, lden_orig, hden_orig, lrem, hrem); neg_double (*lrem, *hrem, lrem, hrem); add_double (lnum_orig, hnum_orig, *lrem, *hrem, lrem, hrem); diff --git a/gcc/gcc.c b/gcc/gcc.c index e4cce369a9c..78e82c49bd9 100644 --- a/gcc/gcc.c +++ b/gcc/gcc.c @@ -6493,7 +6493,7 @@ lookup_compiler (const char *name, size_t length, const char *language) } #if defined (OS2) ||defined (HAVE_DOS_BASED_FILE_SYSTEM) - /* look again, but case-insensitively this time. */ + /* Look again, but case-insensitively this time. */ if (cp < compilers) for (cp = compilers + n_compilers - 1; cp >= compilers; cp--) { diff --git a/gcc/haifa-sched.c b/gcc/haifa-sched.c index 496ea2caa2a..34e8606ce7c 100644 --- a/gcc/haifa-sched.c +++ b/gcc/haifa-sched.c @@ -1952,7 +1952,7 @@ early_queue_to_ready (state_t state, struct ready_list *ready) insns_removed++; if (insns_removed == flag_sched_stalled_insns) - /* remove only one insn from Q at a time */ + /* Remove only one insn from Q at a time. */ return insns_removed; } } diff --git a/gcc/loop-iv.c b/gcc/loop-iv.c index 277c1eaa09a..9c170dec2ec 100644 --- a/gcc/loop-iv.c +++ b/gcc/loop-iv.c @@ -34,7 +34,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA interesting reg, it is now easy to find a reaching definition (there may be only one). - Induction variable is then simply analysed by walking the use-def + Induction variable is then simply analyzed by walking the use-def chains. Usage: @@ -501,7 +501,7 @@ iv_add (struct rtx_iv *iv0, struct rtx_iv *iv1, enum rtx_code op) enum machine_mode mode; rtx arg; - /* Extend the constant to extend_mode of the other operand if neccesary. */ + /* Extend the constant to extend_mode of the other operand if necessary. */ if (iv0->extend == NIL && iv0->mode == iv0->extend_mode && iv0->step == const0_rtx @@ -862,7 +862,7 @@ iv_analyze_biv (rtx def, struct rtx_iv *iv) return iv->base != NULL_RTX; } -/* Analyses operand OP of INSN and stores the result to *IV. */ +/* Analyzes operand OP of INSN and stores the result to *IV. */ static bool iv_analyze_op (rtx insn, rtx op, struct rtx_iv *iv) @@ -927,7 +927,7 @@ iv_analyze_op (rtx insn, rtx op, struct rtx_iv *iv) return iv_analyze (def_insn, op, iv); } -/* Analyses iv DEF defined in INSN and stores the result to *IV. */ +/* Analyzes iv DEF defined in INSN and stores the result to *IV. */ bool iv_analyze (rtx insn, rtx def, struct rtx_iv *iv) @@ -1746,7 +1746,7 @@ shorten_into_mode (struct rtx_iv *iv, enum machine_mode mode, } /* Transforms IV0 and IV1 compared by COND so that they are both compared as - subregs of the same mode if possible (sometimes it is neccesary to add + subregs of the same mode if possible (sometimes it is necessary to add some assumptions to DESC). */ static bool @@ -2082,7 +2082,7 @@ iv_number_of_iterations (struct loop *loop, rtx insn, rtx condition, obviously if the test for overflow during that transformation passed, we cannot overflow here. Most importantly any loop with sharp end condition and step 1 falls into this - cathegory, so handling this case specially is definitely + category, so handling this case specially is definitely worth the troubles. */ may_xform = const_true_rtx; } diff --git a/gcc/params.def b/gcc/params.def index 3d5a6b70a2a..e00e22e3b0d 100644 --- a/gcc/params.def +++ b/gcc/params.def @@ -137,7 +137,7 @@ DEFPARAM(PARAM_MAX_GCSE_PASSES, This limit should be at most half of the peeling limits: loop unroller decides to not unroll loops that iterate fewer than 2*number of allowed - unrollings and thus we would have loops that are neither peeled or unrooled + unrollings and thus we would have loops that are neither peeled or unrolled otherwise. */ DEFPARAM(PARAM_MAX_UNROLLED_INSNS, "max-unrolled-insns", diff --git a/gcc/read-rtl.c b/gcc/read-rtl.c index 629390997c2..377eb7e051e 100644 --- a/gcc/read-rtl.c +++ b/gcc/read-rtl.c @@ -630,7 +630,7 @@ again: if (c != '[') fatal_expected_char (infile, '[', c); - /* add expressions to a list, while keeping a count */ + /* Add expressions to a list, while keeping a count. */ obstack_init (&vector_stack); while ((c = read_skip_spaces (infile)) && c != ']') { diff --git a/gcc/rtl.c b/gcc/rtl.c index d0081587198..6449630b92f 100644 --- a/gcc/rtl.c +++ b/gcc/rtl.c @@ -156,7 +156,7 @@ rtvec_alloc (int n) rtvec rt; rt = ggc_alloc_rtvec (n); - /* clear out the vector */ + /* Clear out the vector. */ memset (&rt->elem[0], 0, n * sizeof (rtx)); PUT_NUM_ELEM (rt, n); diff --git a/gcc/rtlanal.c b/gcc/rtlanal.c index 0ec52dad726..064e4bc6af4 100644 --- a/gcc/rtlanal.c +++ b/gcc/rtlanal.c @@ -3325,7 +3325,7 @@ subreg_offset_representable_p (unsigned int xregno, enum machine_mode xmode, nregs_xmode = hard_regno_nregs[xregno][xmode]; nregs_ymode = hard_regno_nregs[xregno][ymode]; - /* paradoxical subregs are always valid. */ + /* Paradoxical subregs are always valid. */ if (offset == 0 && nregs_ymode > nregs_xmode && (GET_MODE_SIZE (ymode) > UNITS_PER_WORD diff --git a/gcc/toplev.c b/gcc/toplev.c index d99c3bfccdd..10a3b12ac40 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -696,7 +696,7 @@ int flag_gcse_lm = 1; int flag_gcse_sm = 1; -/* Nonzero if we want to perfrom redundant load after store elimination +/* Nonzero if we want to perform redundant load after store elimination in gcse. */ int flag_gcse_las = 1; |