From 858a47b165a39fff21125accb5f433a8e9e434d3 Mon Sep 17 00:00:00 2001 From: Torbjorn Granlund Date: Fri, 14 Aug 1992 11:33:04 +0000 Subject: [PATCH] Fix spelling errors in comments. From-SVN: r1825 --- gcc/c-decl.c | 4 ++-- gcc/cse.c | 2 +- gcc/fold-const.c | 2 +- gcc/integrate.c | 2 +- gcc/protoize.c | 2 +- gcc/reload1.c | 2 +- gcc/stmt.c | 2 +- gcc/tree.c | 2 +- gcc/tree.h | 2 +- 9 files changed, 10 insertions(+), 10 deletions(-) diff --git a/gcc/c-decl.c b/gcc/c-decl.c index 1e877de6dd3f..cdeb1cabe0df 100644 --- a/gcc/c-decl.c +++ b/gcc/c-decl.c @@ -1110,7 +1110,7 @@ pushtag (name, type) /* Create a fake NULL-named TYPE_DECL node whose TREE_TYPE will be the tagged type we just added to the current binding level. This fake NULL-named TYPE_DECL node helps dwarfout.c to know when it needs - to output a a representation of a tagged type, and it also gives + to output a representation of a tagged type, and it also gives us a convenient place to record the "scope start" address for the tagged type. */ @@ -1246,7 +1246,7 @@ duplicate_decls (newdecl, olddecl) that isn't actually built in. */ if (!TREE_PUBLIC (newdecl)) { - /* If you declare a it as static, the + /* If you declare it as static, the default definition is overridden. */ return 0; } diff --git a/gcc/cse.c b/gcc/cse.c index bcff89abdcf8..de3134593e0e 100644 --- a/gcc/cse.c +++ b/gcc/cse.c @@ -4442,7 +4442,7 @@ fold_rtx (x, insn) } /* If this is a narrowing SUBREG and our operand is a REG, see if - we can find an equivalence for REG that is a arithmetic operation + we can find an equivalence for REG that is an arithmetic operation in a wider mode where both operands are paradoxical SUBREGs from objects of our result mode. In that case, we couldn't report an equivalent value for that operation, since we don't know what the diff --git a/gcc/fold-const.c b/gcc/fold-const.c index a7107500f23e..09a00397b5a2 100644 --- a/gcc/fold-const.c +++ b/gcc/fold-const.c @@ -440,7 +440,7 @@ rrotate_double (l1, h1, count, prec, lv, hv) CODE is a tree code for a kind of division, one of TRUNC_DIV_EXPR, FLOOR_DIV_EXPR, CEIL_DIV_EXPR, ROUND_DIV_EXPR or EXACT_DIV_EXPR - It controls how the quotient is rounded to a integer. + It controls how the quotient is rounded to an integer. UNS nonzero says do unsigned division. */ static void diff --git a/gcc/integrate.c b/gcc/integrate.c index e284cf24172b..ba03ecf5c49c 100644 --- a/gcc/integrate.c +++ b/gcc/integrate.c @@ -1719,7 +1719,7 @@ integrate_parm_decls (args, map, arg_vector) LEVEL indicates how far down into the BLOCK tree is the node we are currently traversing. It is always zero except for recursive calls. - MAP, if nonzero, is a pointer to a inline_remap map which indicates how + MAP, if nonzero, is a pointer to an inline_remap map which indicates how registers used in the DECL_RTL field should be remapped. If it is zero, no mapping is necessary. */ diff --git a/gcc/protoize.c b/gcc/protoize.c index eca7413026bf..51c825b60c35 100644 --- a/gcc/protoize.c +++ b/gcc/protoize.c @@ -1441,7 +1441,7 @@ check_aux_info (cond) } /* Given a pointer to the closing right parenthesis for a particular formals - list (in a aux_info file) find the corresponding left parenthesis and + list (in an aux_info file) find the corresponding left parenthesis and return a pointer to it. */ static const char * diff --git a/gcc/reload1.c b/gcc/reload1.c index 6e59d660851b..845883ad2a1c 100644 --- a/gcc/reload1.c +++ b/gcc/reload1.c @@ -5795,7 +5795,7 @@ delete_output_reload (insn, j, output_reload_insn) /* Output reload-insns to reload VALUE into RELOADREG. - VALUE is a autoincrement or autodecrement RTX whose operand + VALUE is an autoincrement or autodecrement RTX whose operand is a register or memory location; so reloading involves incrementing that location. diff --git a/gcc/stmt.c b/gcc/stmt.c index 7ee59b2a4079..eb24d39b57bb 100644 --- a/gcc/stmt.c +++ b/gcc/stmt.c @@ -3856,7 +3856,7 @@ expand_end_case (orig_index) emit_label (table_label); /* This would be a lot nicer if CASE_VECTOR_PC_RELATIVE - were an expression, instead of a an #ifdef/#ifndef. */ + were an expression, instead of an #ifdef/#ifndef. */ if ( #ifdef CASE_VECTOR_PC_RELATIVE 1 || diff --git a/gcc/tree.c b/gcc/tree.c index 44203dbb39da..18d3c528fef5 100644 --- a/gcc/tree.c +++ b/gcc/tree.c @@ -949,7 +949,7 @@ copy_node (node) break; case 'r': /* a reference */ - case 'e': /* a expression */ + case 'e': /* an expression */ case 's': /* an expression with side effects */ case '<': /* a comparison expression */ case '1': /* a unary arithmetic expression */ diff --git a/gcc/tree.h b/gcc/tree.h index 875d0c80fc00..5877f6240a1c 100644 --- a/gcc/tree.h +++ b/gcc/tree.h @@ -236,7 +236,7 @@ struct tree_common /* In a VAR_DECL or FUNCTION_DECL, nonzero means name is to be accessible from outside this module. - In an identifier node, nonzero means a external declaration + In an identifier node, nonzero means an external declaration accessible from outside this module was previously seen for this name in an inner scope. */ #define TREE_PUBLIC(NODE) ((NODE)->common.public_flag) -- 2.43.5