diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 15f810ded00fb80f4e991b128d1fedd250e10f19..c14950117c81c0618ac922f3388324b9a62115a8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2005-09-06 Kazu Hirata <kazu@codesourcery.com> + + * gimplify.c, ipa-prop.h, varasm.c, config/vxlib.c, + config/vxworks.h, config/crx/crx.c, config/ms1/ms1.c, + config/ms1/ms1.md, config/rs6000/rs6000.c: Fix comment typos. + Follow spelling conventions. + * doc/invoke.texi: Follow spelling conventions. + 2005-09-05 J"orn Rennecke <joern.rennecke@st.com> * rtl.h (gen_frame_mem, gen_tmp_stack_mem): Declare. diff --git a/gcc/config/crx/crx.c b/gcc/config/crx/crx.c index b73cde84ec0a1a5801a7e7f70cd4d06b7afe7ca4..838993e8174ff0205c6235761805f3bfe49e9c4d 100644 --- a/gcc/config/crx/crx.c +++ b/gcc/config/crx/crx.c @@ -816,7 +816,7 @@ crx_address_cost (rtx addr) if (addrtype == CRX_ABSOLUTE) cost+=2; - /* Post-modifying addresses are more powerfull. */ + /* Post-modifying addresses are more powerful. */ if (addrtype == CRX_POST_INC) cost-=2; diff --git a/gcc/config/ms1/ms1.c b/gcc/config/ms1/ms1.c index 0257f7d31eb457824617ba3cd6bf531f6e6a2721..25ba78ec40b5c97dc468711b852faa16e19bede0 100644 --- a/gcc/config/ms1/ms1.c +++ b/gcc/config/ms1/ms1.c @@ -1211,7 +1211,7 @@ ms1_expand_epilogue (enum epilogue_type eh_mode) stack_pointer_rtx, cfun->machine->eh_stack_adjust)); - /* Generate the approriate return. */ + /* Generate the appropriate return. */ if (eh_mode == EH_EPILOGUE) { emit_jump_insn (gen_eh_return_internal ()); diff --git a/gcc/config/ms1/ms1.md b/gcc/config/ms1/ms1.md index 662a6ceb70b234ce3df7cad6bfe2f29e3b3fa357..df4ca2cf2bc9add4c78b72d10afac844471fd49d 100644 --- a/gcc/config/ms1/ms1.md +++ b/gcc/config/ms1/ms1.md @@ -72,11 +72,11 @@ ;; This pattern implements the decrement and branch non-zero instruction ;; which can be used by gcc loop optimizer under certain conditions. ;; For an example of it being used try compiling the gcc test case -;; gcc.c-torture/execute/921213-1.c with optimisations enabled. +;; gcc.c-torture/execute/921213-1.c with optimizations enabled. ;; XXX - FIXME - TARGET_MUL is used as a condition since it is set when the ;; target is the MS1-16-003, which is the only Morpho CPU which currently -;; implements this instruction. Stricly speaking we ought to define a +;; implements this instruction. Strictly speaking we ought to define a ;; new command line switch to enable/disable the DBNZ instruction or else ;; change this pattern so that it explicitly checks for an MS1-16-003 ;; architecture. @@ -515,7 +515,7 @@ ;; Note - it is best to only have one movsi pattern and to handle ;; all the various contingencies by the use of alternatives. This -;; allows reload the greatest amount of flexability (since reload will +;; allows reload the greatest amount of flexibility (since reload will ;; only choose amoungst alternatives for a selected insn, it will not ;; replace the insn with another one). (define_insn "*movsi_internal" diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 43c053288a52cb6c8977e59696acaf0462988362..6cc10ec24ef1165945871832d620672e6c46b0de 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -2260,7 +2260,7 @@ rs6000_expand_vector_init (rtx target, rtx vals) { rtx copy = copy_rtx (vals); - /* Load constant part of vector, substititute neighboring value for + /* Load constant part of vector, substitute neighboring value for varying element. */ XVECEXP (copy, 0, one_var) = XVECEXP (vals, 0, (one_var + 1) % n_elts); rs6000_expand_vector_init (target, copy); diff --git a/gcc/config/vxlib.c b/gcc/config/vxlib.c index ab02388dd96f45d6c30b673decfff169e0c5a12e..8625981a3151fc3c261ce5df6a2ee4ff48095365 100644 --- a/gcc/config/vxlib.c +++ b/gcc/config/vxlib.c @@ -252,7 +252,7 @@ tls_destructor (void) /* External interface */ /* Store in KEYP a value which can be passed to __gthread_setspecific/ - __gthread_getspecific to store and retrive a value which is + __gthread_getspecific to store and retrieve a value which is specific to each calling thread. If DTOR is not NULL, it will be called when a thread terminates with a non-NULL specific value for this key, with the value as its sole argument. */ diff --git a/gcc/config/vxworks.h b/gcc/config/vxworks.h index 26445454b61bcba7b89b8939a87d49ad13e5d584..70345e24608ae1ac1c7a244271649c9db07f6af9 100644 --- a/gcc/config/vxworks.h +++ b/gcc/config/vxworks.h @@ -39,7 +39,7 @@ Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA %{!mrtp:-D_WRS_KERNEL=1 \ %{!nostdinc:-isystem " VXWORKS_TARGET_DIR "/h}}" -/* The references to __init and __fini will be satisified by +/* The references to __init and __fini will be satisfied by libc_internal.a. */ #undef VXWORKS_LIB_SPEC #define VXWORKS_LIB_SPEC \ diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 7328e9a0e6d86ae34a0d9b2c1e093a2feb44078e..d31523ac44601677b2a70e3aa6b23d592494edd0 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -10608,7 +10608,7 @@ Use simulator runtime @item -mno-crt0 @opindex mno-crt0 Do not link in the C run-time initialization object file -@file{crti.o}. Other run-time initialisation and termination files +@file{crti.o}. Other run-time initialization and termination files such as @file{startup.o} and @file{exit.o} are still included on the linker command line. diff --git a/gcc/gimplify.c b/gcc/gimplify.c index c72e09e362d26dd71a63df24f009cc6b2fe1fb2c..a2fc7c8510f27766f16237acb644f07c63da55a9 100644 --- a/gcc/gimplify.c +++ b/gcc/gimplify.c @@ -4460,7 +4460,7 @@ gimplify_expr (tree *expr_p, tree *pre_p, tree *post_p, exception here, as all we are doing here is ensuring that we read the bytes that make up the type. We use create_tmp_var_raw because create_tmp_var will abort when - given a TREE_ADDRESSSABLE type. */ + given a TREE_ADDRESSABLE type. */ tree tmp = create_tmp_var_raw (type, "vol"); gimple_add_tmp_var (tmp); *expr_p = build (MODIFY_EXPR, type, tmp, *expr_p); diff --git a/gcc/ipa-prop.h b/gcc/ipa-prop.h index bfed61a56bb381a7f5c907dbcb69a6c4aeb3a6df..82d0ca55711fdd13ee9710ad19788e3732fe8023 100644 --- a/gcc/ipa-prop.h +++ b/gcc/ipa-prop.h @@ -60,7 +60,7 @@ enum cvalue_type }; /* Represents the value of either jump function or cval. - value represnts a constant. + value represents a constant. formal_id is used only in jump function context and represents pass-through parameter (the formal of caller is passed as argument). */ diff --git a/gcc/varasm.c b/gcc/varasm.c index a85f659c32ae02d2486e2b1cac11fd8de7b16441..d0f7afc884654d77ea256160acfec7a72846d153 100644 --- a/gcc/varasm.c +++ b/gcc/varasm.c @@ -3847,7 +3847,7 @@ output_constant (tree exp, unsigned HOST_WIDE_INT size, unsigned int align) if (size == 0 || flag_syntax_only) return; - /* See if we're trying to intialize a pointer in a non-default mode + /* See if we're trying to initialize a pointer in a non-default mode to the address of some declaration somewhere. If the target says the mode is valid for pointers, assume the target has a way of resolving it. */