+2005-08-06 Kazu Hirata <kazu@codesourcery.com>
+
+ * Makefile.in, cfgexpand.c, cfgloop.h, cfgloopmanip.c,
+ config.gcc, ipa-cp.c, ipa-prop.c, ipa-prop.h, reg-stack.c,
+ tree-ssa-structalias.c, tree-vrp.c, value-prof.c, vec.h,
+ config/linux.h, config/alpha/alpha.h, config/alpha/linux.h,
+ config/alpha/predicates.md, config/arc/arc.h,
+ config/arm/arm.h, config/arm/ieee754-df.S,
+ config/arm/ieee754-sf.S, config/bfin/bfin.c,
+ config/bfin/bfin.h, config/c4x/c4x.h, config/crx/crx.c,
+ config/fr30/fr30.h, config/frv/frv.h, config/h8300/h8300.h,
+ config/i386/i386.h, config/ia64/ia64.c, config/ia64/ia64.h,
+ config/m68hc11/m68hc11.h, config/mips/mips.c,
+ config/mips/mips.h, config/mips/openbsd.h,
+ config/mn10300/mn10300.h, config/pa/pa.c, config/pa/pa.h,
+ config/pdp11/pdp11.h, config/rs6000/linux-unwind.h,
+ config/rs6000/rs6000.c, config/rs6000/rs6000.h,
+ config/s390/s390.c, config/sh/sh.c, config/sh/sh.h,
+ config/sparc/linux.h, config/sparc/linux64.h,
+ config/sparc/sparc.h, config/v850/v850.h, config/vax/vax.h,
+ doc/extend.texi, doc/gcov.texi, doc/install.texi,
+ doc/invoke.texi, doc/rtl.texi, doc/tm.texi: Fix comment/doc
+ typos. Follow spelling conventions.
+
2005-08-06 Joseph S. Myers <joseph@codesourcery.com>
PR c/23113
# working directory in object files (-g absent, or -fno-working-dir
# present), and build and host are the same, fixincl for the host will
# build after fixincl for the build machine, getting a cache hit,
-# thereby updating the timestamp of fixincl.o in the the host tree.
+# thereby updating the timestamp of fixincl.o in the host tree.
# Because of CCACHE_HARDLINK, this will also update the timestamp in
# the build tree, and so fixincl in the build tree will appear to be
# out of date. Yuck.
return ret;
}
-/* Return non-zero if DECL should be segregated into the "vulnerable" upper
- part of the local stack frame. Remember if we ever return non-zero for
+/* Return nonzero if DECL should be segregated into the "vulnerable" upper
+ part of the local stack frame. Remember if we ever return nonzero for
any variable in this function. The return value is the phase number in
which the variable should be allocated. */
#define DLTHE_RECORD_COPY_NUMBER 2 /* Record copy number in the aux
field of newly create BB. */
#define DLTHE_FLAG_COMPLETTE_PEEL 4 /* Update frequencies expecting
- a complette peeling. */
+ a complete peeling. */
extern struct loop * duplicate_loop (struct loops *, struct loop *,
struct loop *);
? prob_pass_wont_exit
: prob_pass_thru;
- /* Complette peeling is special as the probability of exit in last
+ /* Complete peeling is special as the probability of exit in last
copy becomes 1. */
if (flags & DLTHE_FLAG_COMPLETTE_PEEL)
{
wanted_freq = freq_in;
gcc_assert (!is_latch);
- /* First copy has frequency of incomming edge. Each subseqeuent
+ /* First copy has frequency of incoming edge. Each subsequent
frequency should be reduced by prob_pass_wont_exit. Caller
should've managed the flags so all except for original loop
has won't exist set. */
;;
esac
- # The Sparc port checks this value at compile-time.
+ # The SPARC port checks this value at compile-time.
target_cpu_default2="TARGET_CPU_$with_cpu"
;;
v850*-*-*)
makes the stack pointer a smaller address. */
#define STACK_GROWS_DOWNWARD
-/* Define this to non-zero if the nominal address of the stack frame
+/* Define this to nonzero if the nominal address of the stack frame
is at the high-address end of the local variables;
that is, each additional local variable allocated
goes at a more negative offset in the frame. */
/* Define this so that all GNU/Linux targets handle the same pragmas. */
#define HANDLE_PRAGMA_PACK_PUSH_POP
-/* Determine whether the the entire c99 runtime is present in the
+/* Determine whether the entire c99 runtime is present in the
runtime library. */
#define TARGET_C99_FUNCTIONS 1
(and (match_code "const_int,const_double,const_vector")
(not (match_operand 0 "add_operand"))))
-;; Return 1 if the operand is a non-symbolic, non-zero constant operand.
+;; Return 1 if the operand is a non-symbolic, nonzero constant operand.
(define_predicate "non_zero_const_operand"
(and (match_code "const_int,const_double,const_vector")
(match_test "op != CONST0_RTX (mode)")))
pointer to a smaller address. */
#define STACK_GROWS_DOWNWARD
-/* Define this to non-zero if the nominal address of the stack frame
+/* Define this to nonzero if the nominal address of the stack frame
is at the high-address end of the local variables;
that is, each additional local variable allocated
goes at a more negative offset in the frame. */
makes the stack pointer a smaller address. */
#define STACK_GROWS_DOWNWARD 1
-/* Define this to non-zero if the nominal address of the stack frame
+/* Define this to nonzero if the nominal address of the stack frame
is at the high-address end of the local variables;
that is, each additional local variable allocated
goes at a more negative offset in the frame. */
mov xl, yl
mov xh, yh
b LSYM(Lml_n) @ <anything> / NAN -> NAN
-2: @ If both are non-zero, we need to normalize and resume above.
+2: @ If both are nonzero, we need to normalize and resume above.
orrs r6, xl, xh, lsl #1
orrnes r6, yl, yh, lsl #1
bne LSYM(Lml_d)
beq LSYM(Lml_z) @ <anything> / INF -> 0
mov r0, r1
b LSYM(Lml_n) @ <anything> / NAN -> NAN
-2: @ If both are non-zero, we need to normalize and resume above.
+2: @ If both are nonzero, we need to normalize and resume above.
bics ip, r0, #0x80000000
bicnes ip, r1, #0x80000000
bne LSYM(Ldv_d)
if (fkind != SUBROUTINE)
return 1;
- /* We turn on on -fomit-frame-pointer if -momit-leaf-frame-pointer is used,
+ /* We turn on -fomit-frame-pointer if -momit-leaf-frame-pointer is used,
so we have to override it for non-leaf functions. */
if (TARGET_OMIT_LEAF_FRAME_POINTER && ! current_function_is_leaf)
return 1;
#define STACK_PUSH_CODE PRE_DEC
-/* Define this to non-zero if the nominal address of the stack frame
+/* Define this to nonzero if the nominal address of the stack frame
is at the high-address end of the local variables;
that is, each additional local variable allocated
goes at a more negative offset in the frame. */
/* #define STACK_GROWS_DOWNWARD. */
/* Like the dsp16xx, i370, i960, and we32k ports. */
-/* Define this to non-zero if the nominal address of the stack frame
+/* Define this to nonzero if the nominal address of the stack frame
is at the high-address end of the local variables;
that is, each additional local variable allocated
goes at a more negative offset in the frame. */
/* STATIC VARIABLES */
/*****************************************************************************/
-/* Non-zero if the last param processed is passed in a register. */
+/* Nonzero if the last param processed is passed in a register. */
static int last_parm_in_reg;
/* Will hold the number of the last register the prologue saves, -1 if no
}
-/* Implements the macro FUNCTION_ARG_REGNO_P defined in crx.h. Return non-zero
+/* Implements the macro FUNCTION_ARG_REGNO_P defined in crx.h. Return nonzero
* if N is a register used for passing parameters. */
int
/* Return the cost of moving data of mode MODE between a register of class
* CLASS and memory; IN is zero if the value is to be written to memory,
- * non-zero if it is to be read in. This cost is relative to those in
- * REGISTER_MOVE_COST. */
+ * nonzero if it is to be read in. This cost is relative to those in
+ * REGISTER_MOVE_COST. */
int
crx_memory_move_cost (enum machine_mode mode,
to a smaller address. */
#define STACK_GROWS_DOWNWARD 1
-/* Define this to macro non-zero if the addresses of local variable slots
+/* Define this to macro nonzero if the addresses of local variable slots
are at negative offsets from the frame pointer. */
#define FRAME_GROWS_DOWNWARD 1
to a smaller address. */
#define STACK_GROWS_DOWNWARD 1
-/* Define this macro to non-zero if the addresses of local variable slots
+/* Define this macro to nonzero if the addresses of local variable slots
are at negative offsets from the frame pointer. */
#define FRAME_GROWS_DOWNWARD 1
#define STACK_GROWS_DOWNWARD
-/* Define this to non-zero if the nominal address of the stack frame
+/* Define this to nonzero if the nominal address of the stack frame
is at the high-address end of the local variables;
that is, each additional local variable allocated
goes at a more negative offset in the frame. */
makes the stack pointer a smaller address. */
#define STACK_GROWS_DOWNWARD
-/* Define this to non-zero if the nominal address of the stack frame
+/* Define this to nonzero if the nominal address of the stack frame
is at the high-address end of the local variables;
that is, each additional local variable allocated
goes at a more negative offset in the frame. */
\f
-/* If the following function returns TRUE, we will use the the DFA
+/* If the following function returns TRUE, we will use the DFA
insn scheduler. */
static int
to a smaller address. */
#define STACK_GROWS_DOWNWARD 1
-/* Define this macro to non-zero if the addresses of local variable slots
+/* Define this macro to nonzero if the addresses of local variable slots
are at negative offsets from the frame pointer. */
#define FRAME_GROWS_DOWNWARD 0
#define USE_LD_AS_NEEDED 1
#endif
-/* Determine whether the the entire c99 runtime
+/* Determine whether the entire c99 runtime
is present in the runtime library. */
#define TARGET_C99_FUNCTIONS 1
makes the stack pointer a smaller address. */
#define STACK_GROWS_DOWNWARD
-/* Define this to non-zero if the nominal address of the stack frame
+/* Define this to nonzero if the nominal address of the stack frame
is at the high-address end of the local variables;
that is, each additional local variable allocated
goes at a more negative offset in the frame.
/* Return the bytes needed to compute the frame pointer from the current
stack pointer. SIZE is the size (in bytes) of the local variables.
- Mips stack frames look like:
+ MIPS stack frames look like:
Before call After call
+-----------------------+ +-----------------------+
/* Similar, but for floating constants, and defining letters G and H.
Here VALUE is the CONST_DOUBLE rtx itself. */
-/* For Mips
+/* For MIPS
'G' : Floating point 0 */
-/* Configuration for a Mips ABI32 OpenBSD target.
+/* Configuration for a MIPS ABI32 OpenBSD target.
Copyright (C) 1999, 2003, 2004 Free Software Foundation, Inc.
This file is part of GCC.
#define STACK_GROWS_DOWNWARD
-/* Define this to non-zero if the nominal address of the stack frame
+/* Define this to nonzero if the nominal address of the stack frame
is at the high-address end of the local variables;
that is, each additional local variable allocated
goes at a more negative offset in the frame. */
/* The SAVE_SP flag is used to indicate that register %r3 is stored
at the beginning of the frame and that it is used as the frame
pointer for the frame. We do this because our current frame
- layout doesn't conform to that specified in the the HP runtime
+ layout doesn't conform to that specified in the HP runtime
documentation and we need a way to indicate to programs such as
GDB where %r3 is saved. The SAVE_SP flag was chosen because it
isn't used by HP compilers but is supported by the assembler.
/* Believe it or not. */
#define ARGS_GROW_DOWNWARD
-/* Define this to non-zero if the nominal address of the stack frame
+/* Define this to nonzero if the nominal address of the stack frame
is at the high-address end of the local variables;
that is, each additional local variable allocated
goes at a more negative offset in the frame. */
makes the stack pointer a smaller address. */
#define STACK_GROWS_DOWNWARD
-/* Define this to non-zero if the nominal address of the stack frame
+/* Define this to nonzero if the nominal address of the stack frame
is at the high-address end of the local variables;
that is, each additional local variable allocated
goes at a more negative offset in the frame.
if (hwcap == 0)
{
hwcap = ppc_linux_aux_vector (16);
- /* These will already be set if we found AT_HWCAP. A non-zero
+ /* These will already be set if we found AT_HWCAP. A nonzero
value stops us looking again if for some reason we couldn't
find AT_HWCAP. */
#ifdef __powerpc64__
This code is also used for function return values. RETVAL indicates
whether this is the case.
- Much of this is taken from the Sparc V9 port, which has a similar
+ Much of this is taken from the SPARC V9 port, which has a similar
calling convention. */
static rtx
/* Offsets recorded in opcodes are a multiple of this alignment factor. */
#define DWARF_CIE_DATA_ALIGNMENT (-((int) (TARGET_32BIT ? 4 : 8)))
-/* Define this to non-zero if the nominal address of the stack frame
+/* Define this to nonzero if the nominal address of the stack frame
is at the high-address end of the local variables;
that is, each additional local variable allocated
goes at a more negative offset in the frame.
However, we must not emit DWARF records for registers 2..5
if they are stored for use by variable arguments ...
- ??? Unfortunately, it is not enough to simply not the the
+ ??? Unfortunately, it is not enough to simply not the
FRAME_RELATED flags for those SETs, because the first SET
of the PARALLEL is always treated as if it had the flag
set, even if it does not. Therefore we emit a new pattern
return (GET_CODE (*loc) == MEM);
}
-/* Return non-zero iff INSN contains a MEM. */
+/* Return nonzero iff INSN contains a MEM. */
int
sh_contains_memref_p (rtx insn)
{
makes the stack pointer a smaller address. */
#define STACK_GROWS_DOWNWARD
-/* Define this macro to non-zero if the addresses of local variable slots
+/* Define this macro to nonzero if the addresses of local variable slots
are at negative offsets from the frame pointer. */
#define FRAME_GROWS_DOWNWARD 1
#undef CTORS_SECTION_ASM_OP
#undef DTORS_SECTION_ASM_OP
-/* Determine whether the the entire c99 runtime is present in the
+/* Determine whether the entire c99 runtime is present in the
runtime library. */
#define TARGET_C99_FUNCTIONS 1
#undef CTORS_SECTION_ASM_OP
#undef DTORS_SECTION_ASM_OP
-/* Determine whether the the entire c99 runtime is present in the
+/* Determine whether the entire c99 runtime is present in the
runtime library. */
#define TARGET_C99_FUNCTIONS 1
makes the stack pointer a smaller address. */
#define STACK_GROWS_DOWNWARD
-/* Define this to non-zero if the nominal address of the stack frame
+/* Define this to nonzero if the nominal address of the stack frame
is at the high-address end of the local variables;
that is, each additional local variable allocated
goes at a more negative offset in the frame. */
#define STACK_GROWS_DOWNWARD
-/* Define this to non-zero if the nominal address of the stack frame
+/* Define this to nonzero if the nominal address of the stack frame
is at the high-address end of the local variables;
that is, each additional local variable allocated
goes at a more negative offset in the frame. */
makes the stack pointer a smaller address. */
#define STACK_GROWS_DOWNWARD
-/* Define this to non-zero if the nominal address of the stack frame
+/* Define this to nonzero if the nominal address of the stack frame
is at the high-address end of the local variables;
that is, each additional local variable allocated
goes at a more negative offset in the frame. */
for @var{type} 2 or 3. If there are multiple objects @var{ptr} can
point to and all of them are known at compile time, the returned number
is the maximum of remaining byte counts in those objects if @var{type} & 2 is
-0 and minimum if non-zero. If it is not possible to determine which objects
+0 and minimum if nonzero. If it is not possible to determine which objects
@var{ptr} points to at compile time, @code{__builtin_object_size} should
return @code{(size_t) -1} for @var{type} 0 or 1 and @code{(size_t) 0}
for @var{type} 2 or 3.
handling @code{%n} differently.
The @var{os} argument is the object size @var{s} points to, like in the
-other built-in functions. There is a small difference in the behaviour
+other built-in functions. There is a small difference in the behavior
though, if @var{os} is @code{(size_t) -1}, the built-in functions are
optimized into the non-checking functions only if @var{flag} is 0, otherwise
the checking function is called with @var{os} argument set to
You must move the data files to the expected directory tree in order to
use them for profile directed optimizations (@option{--use-profile}), or to
-use the the @command{gcov} tool.
+use the @command{gcov} tool.
is also used to build the @samp{newlib} C library for CRX.
It is also possible to build libstdc++-v3 for the CRX architecture. This
-needs to be done in a sepearate step with the following configure settings:
+needs to be done in a separate step with the following configure settings:
@samp{gcc/libstdc++-v3/configure --host=crx-elf --with-newlib
--enable-sjlj-exceptions --enable-cxx-flags='-fexceptions -frtti'}
@command{configure} option when configuring GCC@. The default is to
use traps on systems that support them.
-Cross-compilers for the Mips as target using the Mips assembler
+Cross-compilers for the MIPS as target using the MIPS assembler
currently do not work, because the auxiliary programs
@file{mips-tdump.c} and @file{mips-tfile.c} can't be compiled on
-anything but a Mips. It does work to cross compile for a Mips
+anything but a MIPS. It does work to cross compile for a MIPS
if you use the GNU assembler and linker.
@html
@opindex mlarge-data-threshold=@var{number}
When @option{-mcmodel=medium} is specified, the data greater than
@var{threshold} are placed in large data section. This value must be the
-same across all object linked into the binarry and defaults to 65535.
+same across all object linked into the binary and defaults to 65535.
@item -msvr3-shlib
@itemx -mno-svr3-shlib
@findex VIRTUAL_STACK_VARS_REGNUM
@cindex @code{FRAME_GROWS_DOWNWARD} and virtual registers
@item VIRTUAL_STACK_VARS_REGNUM
-If @code{FRAME_GROWS_DOWNWARD} is defined to a non-zero value, this points
+If @code{FRAME_GROWS_DOWNWARD} is defined to a nonzero value, this points
to immediately above the first variable on the stack. Otherwise, it points
to the first variable on the stack.
@end defmac
@defmac FRAME_GROWS_DOWNWARD
-Define this macro to non-zero value if the addresses of local variable slots
+Define this macro to nonzero value if the addresses of local variable slots
are at negative offsets from the frame pointer.
@end defmac
@end defmac
@defmac VECTOR_STORE_FLAG_VALUE (@var{mode})
-A C expression that gives a rtx representing the non-zero true element
+A C expression that gives a rtx representing the nonzero true element
for vector comparisons. The returned rtx should be valid for the inner
mode of @var{mode} which is guaranteed to be a vector mode. Define
this macro on machines that have vector comparison operations that
IPA_NODE_REF (node)->ipcp_orig_node = orig_node;
}
-/* Create ipa_node and its data strutures for NEW_NODE.
+/* Create ipa_node and its data structures for NEW_NODE.
Set ORIG_NODE as the orig_node field in ipa_node. */
static void
ipcp_cloned_create (struct cgraph_node *orig_node,
}
/* Create a new assignment statment and make
- it the first statemant in the function FN
+ it the first statement in the function FN
tree.
PARM1 is the lhs of the assignment and
VAL is the rhs. */
}
}
-/* Print counts of all cgraph edgess. */
+/* Print counts of all cgraph edges. */
static void
ipcp_profile_cs_count_print (FILE * f)
{
}
/* This is for the case of Fortran. If the address of a const_decl
was passed as argument then we store
- CONST_IPATYPE_REF/CONST_IPATYPE_REF and the costant
+ CONST_IPATYPE_REF/CONST_IPATYPE_REF and the constant
value as the jump function corresponding to this argument. */
else if (TREE_CODE (TREE_VALUE (arg)) == ADDR_EXPR
&& TREE_CODE (TREE_OPERAND (TREE_VALUE (arg), 0)) ==
struct ipa_methodlist *next_method;
};
-/* A pointer to a methodlist elemement. */
+/* A pointer to a methodlist element. */
typedef struct ipa_methodlist *ipa_methodlist_p;
/* ipa_methodlist interface. */
if (EDGE_CRITICAL_P (e1) != EDGE_CRITICAL_P (e2))
return EDGE_CRITICAL_P (e1) ? e1 : e2;
- /* Avoid non-deterministic behaviour. */
+ /* Avoid non-deterministic behavior. */
return (e1->src->index < e2->src->index) ? e1 : e2;
}
unsigned int w;
weight = get_graph_weights (graph, *ce);
- /* We can't eliminate variables that have non-zero weighted
+ /* We can't eliminate variables that have nonzero weighted
edges between them. */
if (bitmap_other_than_zero_bit_set (weight))
{
/* Refuse to operate on varying and symbolic ranges. Also, if the
operand is neither a pointer nor an integral type, set the
resulting range to VARYING. TODO, in some cases we may be able
- to derive anti-ranges (like non-zero values). */
+ to derive anti-ranges (like nonzero values). */
if (vr0.type == VR_VARYING
|| (!INTEGRAL_TYPE_P (TREE_TYPE (op0))
&& !POINTER_TYPE_P (TREE_TYPE (op0)))
/* The overall number of invocations of the counter should match execution count
of basic block. Report it as error rather than internal error as it might
- mean that user has missused the profile somehow. */
+ mean that user has misused the profile somehow. */
static bool
check_counter (tree stmt, const char * name, gcov_type all, gcov_type bb_count)
{
/* Check if vector is empty
int VEC_T_empty(const VEC(T) *v);
- Return non-zero if V is an empty vector (or V is NULL), zero otherwise. */
+ Return nonzero if V is an empty vector (or V is NULL), zero otherwise. */
#define VEC_empty(T,V) (VEC_length (T,V) == 0)