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

gcc/
	* cfgrtl.c, dbxout.c, tree.def, config/darwin.h,
	config/arm/arm.c, objc/objc-act.c: Fix comment typos.
	* doc/invoke.texi: Fix a typo.

cp/
	* cxx-pretty-print.c: Fix comment typos.

From-SVN: r79956
This commit is contained in:
Kazu Hirata 2004-03-25 17:04:45 +00:00 committed by Kazu Hirata
parent 43a21dfc46
commit 666c27b9fa
10 changed files with 25 additions and 15 deletions

View File

@ -1,3 +1,9 @@
2004-03-25 Kazu Hirata <kazu@cs.umass.edu>
* cfgrtl.c, dbxout.c, tree.def, config/darwin.h,
config/arm/arm.c, objc/objc-act.c: Fix comment typos.
* doc/invoke.texi: Fix a typo.
2004-03-25 Kazu Hirata <kazu@cs.umass.edu> 2004-03-25 Kazu Hirata <kazu@cs.umass.edu>
PR optimization/9707. PR optimization/9707.

View File

@ -2105,7 +2105,7 @@ rtl_verify_flow_info (void)
break; break;
case CODE_LABEL: case CODE_LABEL:
/* An addr_vec is placed outside any block block. */ /* An addr_vec is placed outside any basic block. */
if (NEXT_INSN (x) if (NEXT_INSN (x)
&& GET_CODE (NEXT_INSN (x)) == JUMP_INSN && GET_CODE (NEXT_INSN (x)) == JUMP_INSN
&& (GET_CODE (PATTERN (NEXT_INSN (x))) == ADDR_DIFF_VEC && (GET_CODE (PATTERN (NEXT_INSN (x))) == ADDR_DIFF_VEC

View File

@ -2288,7 +2288,7 @@ arm_function_arg (CUMULATIVE_ARGS *pcum, enum machine_mode mode,
/* Compute operand 2 of the call insn. */ /* Compute operand 2 of the call insn. */
return GEN_INT (pcum->call_cookie); return GEN_INT (pcum->call_cookie);
/* Only allow splitting an arg between regs and memory if all preceeding /* Only allow splitting an arg between regs and memory if all preceding
args were allocated to regs. For args passed by reference we only count args were allocated to regs. For args passed by reference we only count
the reference pointer. */ the reference pointer. */
if (pcum->can_split) if (pcum->can_split)
@ -9909,8 +9909,8 @@ arm_get_frame_offsets (void)
if (reload_completed) if (reload_completed)
return offsets; return offsets;
/* Initialy this is the size of the local variables. It will translated /* Initially this is the size of the local variables. It will translated
into an offset once we have determined the size of preceeding data. */ into an offset once we have determined the size of preceding data. */
frame_size = ROUND_UP_WORD (get_frame_size ()); frame_size = ROUND_UP_WORD (get_frame_size ());
leaf = leaf_function_p (); leaf = leaf_function_p ();
@ -10013,7 +10013,7 @@ arm_get_frame_offsets (void)
} }
/* Calculate the realative offsets for the different stack pointers. Positive /* Calculate the relative offsets for the different stack pointers. Positive
offsets are in the direction of stack growth. */ offsets are in the direction of stack growth. */
unsigned int unsigned int

View File

@ -341,7 +341,7 @@ do { text_section (); \
#undef USE_COMMON_FOR_ONE_ONLY #undef USE_COMMON_FOR_ONE_ONLY
#define USE_COMMON_FOR_ONE_ONLY 0 #define USE_COMMON_FOR_ONE_ONLY 0
/* The Darwin linker doesn't like explicit template instantions to be /* The Darwin linker doesn't like explicit template instantiations to be
coalesced, because it doesn't want coalesced symbols to appear in coalesced, because it doesn't want coalesced symbols to appear in
a static archive's table of contents. */ a static archive's table of contents. */
#undef TARGET_EXPLICIT_INSTANTIATIONS_ONE_ONLY #undef TARGET_EXPLICIT_INSTANTIATIONS_ONE_ONLY

View File

@ -1,3 +1,7 @@
2004-03-25 Kazu Hirata <kazu@cs.umass.edu>
* cxx-pretty-print.c: Fix comment typos.
2004-03-24 Kazu Hirata <kazu@cs.umass.edu> 2004-03-24 Kazu Hirata <kazu@cs.umass.edu>
* cxx-pretty-print.c, cxx-pretty-print.h, decl.h, friend.c: * cxx-pretty-print.c, cxx-pretty-print.h, decl.h, friend.c:

View File

@ -198,7 +198,7 @@ pp_cxx_unqualified_id (cxx_pretty_printer *pp, tree t)
/* Pretty-print out the token sequence ":: template" in template codes /* Pretty-print out the token sequence ":: template" in template codes
where it is needed to "inline declare" the (following) member as where it is needed to "inline declare" the (following) member as
a template. This situtation arises when SCOPE of T is dependent a template. This situation arises when SCOPE of T is dependent
on template parameters. */ on template parameters. */
static inline void static inline void
@ -242,7 +242,7 @@ pp_cxx_qualified_id (cxx_pretty_printer *pp, tree t)
/* In Standard C++, functions cannot possibly be used as /* In Standard C++, functions cannot possibly be used as
nested-name-specifiers. However, there are situations where nested-name-specifiers. However, there are situations where
is "makes sense" to output the surrouding function name for the is "makes sense" to output the surrounding function name for the
purpose of emphasizing on the scope kind. Just printing the purpose of emphasizing on the scope kind. Just printing the
function name might not be sufficient as it may be overloaded; so, function name might not be sufficient as it may be overloaded; so,
we decorate the function with its signature too. we decorate the function with its signature too.

View File

@ -884,8 +884,8 @@ dbxout_type_fields (tree type)
field that we can support. */ field that we can support. */
for (tem = TYPE_FIELDS (type); tem; tem = TREE_CHAIN (tem)) for (tem = TYPE_FIELDS (type); tem; tem = TREE_CHAIN (tem))
{ {
/* If one of the nodes is an error_mark or its type is then
/* If on of the nodes is an error_mark or its type is then return early. */ return early. */
if (tem == error_mark_node || TREE_TYPE (tem) == error_mark_node) if (tem == error_mark_node || TREE_TYPE (tem) == error_mark_node)
return; return;

View File

@ -6653,7 +6653,7 @@ if the underlying ABI supports it.
Specifying the larger number can produce faster, more efficient code, but Specifying the larger number can produce faster, more efficient code, but
can also increase the size of the program. Different values are potentially can also increase the size of the program. Different values are potentially
incompatible. Code compiled with one value cannot necessarily expect to incompatible. Code compiled with one value cannot necessarily expect to
work with code or libraries compiled with annother value, if they exchange work with code or libraries compiled with another value, if they exchange
information using structures or unions. information using structures or unions.
@item -mabort-on-noreturn @item -mabort-on-noreturn

View File

@ -3304,7 +3304,7 @@ build_objc_exception_stuff (void)
finish_struct (objc_exception_data_template, field_decl_chain, NULL_TREE); finish_struct (objc_exception_data_template, field_decl_chain, NULL_TREE);
/* int _setjmp(...); */ /* int _setjmp(...); */
/* If the user includes <setjmp.h>, this shall be superceded by /* If the user includes <setjmp.h>, this shall be superseded by
'int _setjmp(jmp_buf);' */ 'int _setjmp(jmp_buf);' */
temp_type = build_function_type (integer_type_node, NULL_TREE); temp_type = build_function_type (integer_type_node, NULL_TREE);
objc_setjmp_decl objc_setjmp_decl
@ -5536,7 +5536,7 @@ receiver_is_class_object (tree receiver, int self, int super)
&& (exp = TREE_OPERAND (exp, 0)) && (exp = TREE_OPERAND (exp, 0))
&& TREE_CODE (exp) == FUNCTION_DECL && TREE_CODE (exp) == FUNCTION_DECL
/* For some reason, we sometimes wind up with multiple FUNCTION_DECL /* For some reason, we sometimes wind up with multiple FUNCTION_DECL
prototypes for objc_get_class(). Thankfuly, they seem to share the prototypes for objc_get_class(). Thankfully, they seem to share the
same function type. */ same function type. */
&& TREE_TYPE (exp) == TREE_TYPE (objc_get_class_decl) && TREE_TYPE (exp) == TREE_TYPE (objc_get_class_decl)
&& !strcmp (IDENTIFIER_POINTER (DECL_NAME (exp)), TAG_GETCLASS) && !strcmp (IDENTIFIER_POINTER (DECL_NAME (exp)), TAG_GETCLASS)
@ -9015,7 +9015,7 @@ handle_impent (struct imp_entry *impent)
} }
} }
/* The Fix-and-Countinue functionality available in Mac OS X 10.3 and /* The Fix-and-Continue functionality available in Mac OS X 10.3 and
later requires that ObjC translation units participating in F&C be later requires that ObjC translation units participating in F&C be
specially marked. The following routine accomplishes this. */ specially marked. The following routine accomplishes this. */

View File

@ -553,7 +553,7 @@ DEFTREECODE (CLEANUP_POINT_EXPR, "cleanup_point_expr", 'e', 1)
fact that the expression for the array contains the dereference of fact that the expression for the array contains the dereference of
the fat pointer that obtained the array pointer. */ the fat pointer that obtained the array pointer. */
/* Denotes a record to later be substitued before evaluating this expression. /* Denotes a record to later be substituted before evaluating this expression.
The type of this expression is used to find the record to replace it. */ The type of this expression is used to find the record to replace it. */
DEFTREECODE (PLACEHOLDER_EXPR, "placeholder_expr", 'x', 0) DEFTREECODE (PLACEHOLDER_EXPR, "placeholder_expr", 'x', 0)