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>
+
PR optimization/9707.
* stmt.c (emit_case_nodes): Emit equality comparisons instead
of recursing if both children are single-valued cases with no
break;
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)
&& GET_CODE (NEXT_INSN (x)) == JUMP_INSN
&& (GET_CODE (PATTERN (NEXT_INSN (x))) == ADDR_DIFF_VEC
/* Compute operand 2 of the call insn. */
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
the reference pointer. */
if (pcum->can_split)
if (reload_completed)
return offsets;
- /* Initialy this is the size of the local variables. It will translated
- into an offset once we have determined the size of preceeding data. */
+ /* Initially this is the size of the local variables. It will translated
+ into an offset once we have determined the size of preceding data. */
frame_size = ROUND_UP_WORD (get_frame_size ());
leaf = leaf_function_p ();
}
-/* 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. */
unsigned int
#undef USE_COMMON_FOR_ONE_ONLY
#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
a static archive's table of contents. */
#undef TARGET_EXPLICIT_INSTANTIATIONS_ONE_ONLY
+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>
* cxx-pretty-print.c, cxx-pretty-print.h, decl.h, friend.c:
/* Pretty-print out the token sequence ":: template" in template codes
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. */
static inline void
/* In Standard C++, functions cannot possibly be used as
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
function name might not be sufficient as it may be overloaded; so,
we decorate the function with its signature too.
field that we can support. */
for (tem = TYPE_FIELDS (type); tem; tem = TREE_CHAIN (tem))
{
-
- /* If on of the nodes is an error_mark or its type is then return early. */
+ /* If one of the nodes is an error_mark or its type is then
+ return early. */
if (tem == error_mark_node || TREE_TYPE (tem) == error_mark_node)
return;
Specifying the larger number can produce faster, more efficient code, but
can also increase the size of the program. Different values are potentially
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.
@item -mabort-on-noreturn
finish_struct (objc_exception_data_template, field_decl_chain, NULL_TREE);
/* 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);' */
temp_type = build_function_type (integer_type_node, NULL_TREE);
objc_setjmp_decl
&& (exp = TREE_OPERAND (exp, 0))
&& TREE_CODE (exp) == 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. */
&& TREE_TYPE (exp) == TREE_TYPE (objc_get_class_decl)
&& !strcmp (IDENTIFIER_POINTER (DECL_NAME (exp)), TAG_GETCLASS)
}
}
\f
-/* 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
specially marked. The following routine accomplishes this. */
fact that the expression for the array contains the dereference of
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. */
DEFTREECODE (PLACEHOLDER_EXPR, "placeholder_expr", 'x', 0)