Commit a4174ebf by Kazu Hirata Committed by Kazu Hirata

calls.c, [...]: Fix comment typos.

	* calls.c, fold-const.c, ipa-reference.c, ipa-type-escape.c,
	tree-ssa-reassoc.c, tree-ssa-structalias.c, vec.h,
	config/crx/crx.c, config/m32c/m32c.c, config/m32c/m32c.h: Fix
	comment typos.
	* doc/c-tree.texi, doc/tree-ssa.texi: Fix typos.

From-SVN: r102385
parent 783455db
...@@ -6,6 +6,12 @@ ...@@ -6,6 +6,12 @@
config/crx/crx.c, config/crx/crx.h, config/crx/crx.md: Update config/crx/crx.c, config/crx/crx.h, config/crx/crx.md: Update
FSF address. FSF address.
* calls.c, fold-const.c, ipa-reference.c, ipa-type-escape.c,
tree-ssa-reassoc.c, tree-ssa-structalias.c, vec.h,
config/crx/crx.c, config/m32c/m32c.c, config/m32c/m32c.h: Fix
comment typos.
* doc/c-tree.texi, doc/tree-ssa.texi: Fix typos.
2005-07-26 Richard Guenther <rguenther@suse.de> 2005-07-26 Richard Guenther <rguenther@suse.de>
PR tree-optimization/22486 PR tree-optimization/22486
......
...@@ -3634,7 +3634,7 @@ emit_library_call_value_1 (int retval, rtx orgfun, rtx value, ...@@ -3634,7 +3634,7 @@ emit_library_call_value_1 (int retval, rtx orgfun, rtx value,
use = plus_constant (argblock, use = plus_constant (argblock,
argvec[argnum].locate.offset.constant); argvec[argnum].locate.offset.constant);
else else
/* When arguemnts are pushed, trying to tell alias.c where /* When arguments are pushed, trying to tell alias.c where
exactly this argument is won't work, because the exactly this argument is won't work, because the
auto-increment causes confusion. So we merely indicate auto-increment causes confusion. So we merely indicate
that we access something with a known mode somewhere on that we access something with a known mode somewhere on
......
...@@ -1409,7 +1409,7 @@ crx_prepare_push_pop_string (int push_or_pop) ...@@ -1409,7 +1409,7 @@ crx_prepare_push_pop_string (int push_or_pop)
| | (alloca, variable deallocated | | (alloca, variable deallocated
Stack | length arrays). Stack | length arrays).
grows +-------------------- Fp(x) grows +-------------------- Fp(x)
down| | Local vaiables of X down| | Local variables of X
ward| +-------------------- ward| +--------------------
| | Regs saved for X-1 | | Regs saved for X-1
| +==================== Sp(x-1)=Ap(x) | +==================== Sp(x-1)=Ap(x)
......
...@@ -1978,7 +1978,7 @@ m32c_asm_integer (rtx x, unsigned int size, int aligned_p) ...@@ -1978,7 +1978,7 @@ m32c_asm_integer (rtx x, unsigned int size, int aligned_p)
/* Output of Assembler Instructions */ /* Output of Assembler Instructions */
/* We use a lookup table because the addressing modes are non-orthagonal. */ /* We use a lookup table because the addressing modes are non-orthogonal. */
static struct static struct
{ {
......
...@@ -353,7 +353,7 @@ enum reg_class ...@@ -353,7 +353,7 @@ enum reg_class
#define BASE_REG_CLASS A_REGS #define BASE_REG_CLASS A_REGS
#define INDEX_REG_CLASS NO_REGS #define INDEX_REG_CLASS NO_REGS
/* We primarily use the new "long" constraint names, with the intial /* We primarily use the new "long" constraint names, with the initial
letter classifying the constraint type and following letters letter classifying the constraint type and following letters
specifying which. The types are: specifying which. The types are:
......
...@@ -1108,7 +1108,7 @@ For garbage collection and dynamic checking purposes, each @code{DECL} ...@@ -1108,7 +1108,7 @@ For garbage collection and dynamic checking purposes, each @code{DECL}
node structure type is required to have a unique enumerator value node structure type is required to have a unique enumerator value
specified with it. specified with it.
For language specific @code{DECL} nodes, this new enumerator value For language specific @code{DECL} nodes, this new enumerator value
should go in the approriate @file{.def} file. should go in the appropriate @file{.def} file.
For @code{DECL} nodes that are part of the middle-end, the enumerator For @code{DECL} nodes that are part of the middle-end, the enumerator
values are specified in @file{treestruct.def}. values are specified in @file{treestruct.def}.
...@@ -1116,7 +1116,7 @@ values are specified in @file{treestruct.def}. ...@@ -1116,7 +1116,7 @@ values are specified in @file{treestruct.def}.
In order to make your new structure type usable, it must be added to In order to make your new structure type usable, it must be added to
@code{union tree_node}. @code{union tree_node}.
For language specific @code{DECL} nodes, a new entry should be added For language specific @code{DECL} nodes, a new entry should be added
to the approriate @file{.h} file of the form to the appropriate @file{.h} file of the form
@smallexample @smallexample
struct tree_foo_decl GTY ((tag ("TS_VAR_DECL"))) foo_decl; struct tree_foo_decl GTY ((tag ("TS_VAR_DECL"))) foo_decl;
@end smallexample @end smallexample
...@@ -1130,10 +1130,10 @@ contains one of the enumerated @code{DECL} node structures in the ...@@ -1130,10 +1130,10 @@ contains one of the enumerated @code{DECL} node structures in the
hierarchy, a simple lookup table is used. hierarchy, a simple lookup table is used.
This lookup table needs to be kept up to date with the tree structure This lookup table needs to be kept up to date with the tree structure
hierarchy, or else checking and containment macros will fail hierarchy, or else checking and containment macros will fail
inapproriately. inappropriately.
For language specific @code{DECL} nodes, their is an @code{init_ts} For language specific @code{DECL} nodes, their is an @code{init_ts}
function in an approriate @file{.c} file, which initializes the lookup function in an appropriate @file{.c} file, which initializes the lookup
table. table.
Code setting up the table for new @code{DECL} nodes should be added Code setting up the table for new @code{DECL} nodes should be added
there. there.
...@@ -1155,7 +1155,7 @@ goes into @file{tree.c}. ...@@ -1155,7 +1155,7 @@ goes into @file{tree.c}.
@item Add macros to access any new fields and flags @item Add macros to access any new fields and flags
Each added field or flag should have a macro that is used to access Each added field or flag should have a macro that is used to access
it, that performs approriate checking to ensure only the right type of it, that performs appropriate checking to ensure only the right type of
@code{DECL} nodes access the field. @code{DECL} nodes access the field.
These macros generally take the following form These macros generally take the following form
......
...@@ -436,7 +436,7 @@ the compiler does not know whether such a goto statement exits the ...@@ -436,7 +436,7 @@ the compiler does not know whether such a goto statement exits the
first sequence or not, so we assume that it doesn't). first sequence or not, so we assume that it doesn't).
After the second sequence is executed, if it completes normally by After the second sequence is executed, if it completes normally by
falling off the end, execution continues whereever the first sequence falling off the end, execution continues wherever the first sequence
would have continued, by falling off the end, or doing a goto, etc. would have continued, by falling off the end, or doing a goto, etc.
@code{TRY_FINALLY_EXPR} complicates the flow graph, since the cleanup @code{TRY_FINALLY_EXPR} complicates the flow graph, since the cleanup
......
...@@ -6712,7 +6712,7 @@ fold_unary (enum tree_code code, tree type, tree op0) ...@@ -6712,7 +6712,7 @@ fold_unary (enum tree_code code, tree type, tree op0)
} }
/* Handle (T *)&A.B.C for A being of type T and B and C /* Handle (T *)&A.B.C for A being of type T and B and C
living at offset zero. This occours frequently in living at offset zero. This occurs frequently in
C++ upcasting and then accessing the base. */ C++ upcasting and then accessing the base. */
if (TREE_CODE (op0) == ADDR_EXPR if (TREE_CODE (op0) == ADDR_EXPR
&& POINTER_TYPE_P (type) && POINTER_TYPE_P (type)
......
...@@ -592,7 +592,7 @@ get_static_decl (int index) ...@@ -592,7 +592,7 @@ get_static_decl (int index)
} }
/* Lookup the tree node for the static variable that has UID and /* Lookup the tree node for the static variable that has UID and
conver the name to a string for debugging. */ convert the name to a string for debugging. */
static const char * static const char *
get_static_name (int index) get_static_name (int index)
......
...@@ -487,7 +487,7 @@ mark_type (tree type, enum escape_t escape_status) ...@@ -487,7 +487,7 @@ mark_type (tree type, enum escape_t escape_status)
bitmap_set_bit (map, uid); bitmap_set_bit (map, uid);
if (escape_status == FULL_ESCAPE) if (escape_status == FULL_ESCAPE)
{ {
/* Effeciency hack. When things are bad, do not mess around /* Efficiency hack. When things are bad, do not mess around
with this type anymore. */ with this type anymore. */
bitmap_set_bit (global_types_exposed_parameter, uid); bitmap_set_bit (global_types_exposed_parameter, uid);
} }
...@@ -1461,7 +1461,7 @@ close_type_seen (tree type) ...@@ -1461,7 +1461,7 @@ close_type_seen (tree type)
return; return;
bitmap_set_bit (been_there_done_that, uid); bitmap_set_bit (been_there_done_that, uid);
/* If we are doing a language with a type heirarchy, mark all of /* If we are doing a language with a type hierarchy, mark all of
the superclasses. */ the superclasses. */
if (TYPE_BINFO (type)) if (TYPE_BINFO (type))
for (binfo = TYPE_BINFO (type), i = 0; for (binfo = TYPE_BINFO (type), i = 0;
...@@ -1568,7 +1568,7 @@ close_type_full_escape (tree type) ...@@ -1568,7 +1568,7 @@ close_type_full_escape (tree type)
subtype_map = subtype_map_for_uid (uid, false); subtype_map = subtype_map_for_uid (uid, false);
/* If we are doing a language with a type heirarchy, mark all of /* If we are doing a language with a type hierarchy, mark all of
the superclasses. */ the superclasses. */
if (TYPE_BINFO (type)) if (TYPE_BINFO (type))
for (binfo = TYPE_BINFO (type), i = 0; for (binfo = TYPE_BINFO (type), i = 0;
......
...@@ -435,7 +435,7 @@ reassociate_expr (tree bexpr, block_stmt_iterator *currbsi) ...@@ -435,7 +435,7 @@ reassociate_expr (tree bexpr, block_stmt_iterator *currbsi)
unsigned int lhsrank = get_rank (lhs); unsigned int lhsrank = get_rank (lhs);
unsigned int rhsrank = get_rank (rhs); unsigned int rhsrank = get_rank (rhs);
/* If unsafe math optimizations we can do reassociation for non integal /* If unsafe math optimizations we can do reassociation for non-integral
types. */ types. */
if ((!INTEGRAL_TYPE_P (TREE_TYPE (lhs)) if ((!INTEGRAL_TYPE_P (TREE_TYPE (lhs))
|| !INTEGRAL_TYPE_P (TREE_TYPE (rhs))) || !INTEGRAL_TYPE_P (TREE_TYPE (rhs)))
......
...@@ -2718,7 +2718,7 @@ update_alias_info (tree stmt, struct alias_info *ai) ...@@ -2718,7 +2718,7 @@ update_alias_info (tree stmt, struct alias_info *ai)
1- If the constraint for PTR is ADDRESSOF for a non-structure 1- If the constraint for PTR is ADDRESSOF for a non-structure
variable, then we can use it directly because adding or variable, then we can use it directly because adding or
subtracting a constant may not alter the original ADDRESSOF subtracting a constant may not alter the original ADDRESSOF
constraing (i.e., pointer arithmetic may not legally go outside constraint (i.e., pointer arithmetic may not legally go outside
an object's boundaries). an object's boundaries).
2- If the constraint for PTR is ADDRESSOF for a structure variable, 2- If the constraint for PTR is ADDRESSOF for a structure variable,
...@@ -3324,7 +3324,7 @@ find_what_p_points_to (tree p) ...@@ -3324,7 +3324,7 @@ find_what_p_points_to (tree p)
if (vi->is_artificial_var) if (vi->is_artificial_var)
{ {
/* FIXME. READONLY should be handled better so that /* FIXME. READONLY should be handled better so that
flow insensitive aliasing can disregard writeable flow insensitive aliasing can disregard writable
aliases. */ aliases. */
if (vi->id == nothing_id) if (vi->id == nothing_id)
pi->pt_null = 1; pi->pt_null = 1;
......
...@@ -218,7 +218,7 @@ Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA ...@@ -218,7 +218,7 @@ Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
VEC(T,A) *VEC_T_A_copy(VEC(T) *); VEC(T,A) *VEC_T_A_copy(VEC(T) *);
Copy the live elements of a vector into a new vector. The new and Copy the live elements of a vector into a new vector. The new and
old vectors need not be allocated by the same mechanim. */ old vectors need not be allocated by the same mechanism. */
#define VEC_copy(T,A,V) (VEC_OP(T,A,copy)(VEC_BASE(V) MEM_STAT_INFO)) #define VEC_copy(T,A,V) (VEC_OP(T,A,copy)(VEC_BASE(V) MEM_STAT_INFO))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment