From 851d929653778531dd174c25c55d6c6558b5510f Mon Sep 17 00:00:00 2001 From: mrs Date: Sun, 10 Apr 2011 18:46:45 +0000 Subject: [PATCH] Remove doubled up words. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172247 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/c-family/c-ada-spec.c | 2 +- gcc/cfganal.c | 2 +- gcc/cgraphunit.c | 6 +++--- gcc/config/arm/arm.c | 6 +++--- gcc/config/arm/arm.md | 2 +- gcc/config/cris/cris.md | 2 +- gcc/config/i386/i386.c | 27 ++++++++++++++------------- gcc/config/i386/smmintrin.h | 2 +- gcc/config/mips/mips-protos.h | 2 +- gcc/config/mips/mips.c | 27 ++++++++++++++------------- gcc/config/s390/s390.c | 2 +- gcc/config/sh/sh.c | 2 +- gcc/config/spu/spu.c | 17 +++++++++-------- gcc/cp/decl.c | 2 +- gcc/cp/name-lookup.c | 6 +++--- gcc/doc/invoke.texi | 2 +- gcc/doc/tm.texi | 4 ++-- gcc/doc/tm.texi.in | 4 ++-- gcc/fortran/frontend-passes.c | 2 +- gcc/fortran/gfortran.texi | 2 +- gcc/fortran/intrinsic.texi | 4 ++-- gcc/fortran/target-memory.c | 2 +- gcc/fortran/trans-decl.c | 4 ++-- gcc/fortran/trans-expr.c | 2 +- gcc/fortran/trans-types.c | 2 +- gcc/gengtype.c | 2 +- gcc/genhooks.c | 2 +- gcc/gimple.c | 2 +- gcc/haifa-sched.c | 2 +- gcc/ipa-prop.c | 6 +++--- gcc/ira-emit.c | 2 +- gcc/ira-int.h | 2 +- gcc/java/jcf-parse.c | 2 +- gcc/lto-streamer.c | 2 +- gcc/lto/lto.c | 7 ++++--- gcc/matrix-reorg.c | 2 +- gcc/objc/objc-next-runtime-abi-02.c | 2 +- gcc/regs.h | 2 +- gcc/regstat.c | 2 +- gcc/sel-sched.c | 2 +- gcc/targhooks.c | 7 ++++--- 41 files changed, 93 insertions(+), 88 deletions(-) diff --git a/gcc/c-family/c-ada-spec.c b/gcc/c-family/c-ada-spec.c index edfc43b23fc..f582e7dfb0e 100644 --- a/gcc/c-family/c-ada-spec.c +++ b/gcc/c-family/c-ada-spec.c @@ -3233,7 +3233,7 @@ dump_ads (const char *source_file, pkg_name = get_ada_package (source_file); - /* Construct the the .ads filename and package name. */ + /* Construct the .ads filename and package name. */ ads_name = xstrdup (pkg_name); for (s = ads_name; *s; s++) diff --git a/gcc/cfganal.c b/gcc/cfganal.c index 138ae29d211..e27bbb2c6be 100644 --- a/gcc/cfganal.c +++ b/gcc/cfganal.c @@ -650,7 +650,7 @@ connect_infinite_loops_to_exit (void) } /* Compute reverse top sort order. This is computing a post order - numbering of the graph. If INCLUDE_ENTRY_EXIT is true, then then + numbering of the graph. If INCLUDE_ENTRY_EXIT is true, then ENTRY_BLOCK and EXIT_BLOCK are included. If DELETE_UNREACHABLE is true, unreachable blocks are deleted. */ diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c index 93d5c06ce97..15660a7e7f8 100644 --- a/gcc/cgraphunit.c +++ b/gcc/cgraphunit.c @@ -45,9 +45,9 @@ along with GCC; see the file COPYING3. If not see This function is called once (source level) compilation unit is finalized and it will no longer change. - In the the call-graph construction and local function - analysis takes place here. Bodies of unreachable functions are released - to conserve memory usage. + In the call-graph construction and local function analysis takes + place here. Bodies of unreachable functions are released to + conserve memory usage. The function can be called multiple times when multiple source level compilation units are combined (such as in C frontend) diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index c29469c72d3..55d5883c983 100644 --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -9505,7 +9505,7 @@ compute_offset_order (int nops, HOST_WIDE_INT *unsorted_offsets, int *order, from that base register. REGS is an array filled in with the destination register numbers. SAVED_ORDER (if nonnull), is an array filled in with an order that maps - insn numbers to to an ascending order of stores. If CHECK_REGS is true, + insn numbers to an ascending order of stores. If CHECK_REGS is true, the sequence of registers in REGS matches the loads from ascending memory locations, and the function verifies that the register numbers are themselves ascending. If CHECK_REGS is false, the register numbers @@ -9653,7 +9653,7 @@ load_multiple_sequence (rtx *operands, int nops, int *regs, int *saved_order, array filled in with the source register numbers, REG_RTXS (if nonnull) is likewise filled with the corresponding rtx's. SAVED_ORDER (if nonnull), is an array filled in with an order that maps insn - numbers to to an ascending order of stores. + numbers to an ascending order of stores. If CHECK_REGS is true, the sequence of registers in *REGS matches the stores from ascending memory locations, and the function verifies that the register numbers are themselves ascending. If CHECK_REGS is false, the register @@ -23007,7 +23007,7 @@ arm_emit (int label ATTRIBUTE_UNUSED, const char *pattern, rtx *operands) static unsigned arm_insn_count; /* An emitter that counts emitted instructions but does not actually - emit instruction into the the instruction stream. */ + emit instruction into the instruction stream. */ static void arm_count (int label, const char *pattern ATTRIBUTE_UNUSED, diff --git a/gcc/config/arm/arm.md b/gcc/config/arm/arm.md index e54acc72ea6..febbbe28aea 100644 --- a/gcc/config/arm/arm.md +++ b/gcc/config/arm/arm.md @@ -97,7 +97,7 @@ ; generate correct unwind information. UNSPEC_PIC_OFFSET ; A symbolic 12-bit OFFSET that has been treated ; correctly for PIC usage. - UNSPEC_GOTSYM_OFF ; The offset of the start of the the GOT from a + UNSPEC_GOTSYM_OFF ; The offset of the start of the GOT from a ; a given symbolic address. UNSPEC_THUMB1_CASESI ; A Thumb1 compressed dispatch-table call. UNSPEC_RBIT ; rbit operation. diff --git a/gcc/config/cris/cris.md b/gcc/config/cris/cris.md index dd5d4940c00..8af8a06531d 100644 --- a/gcc/config/cris/cris.md +++ b/gcc/config/cris/cris.md @@ -2509,7 +2509,7 @@ ;; The addi insn as it is normally used. -;; Make the the ACR alternative taste bad enough to not choose it as a +;; Make the ACR alternative taste bad enough to not choose it as a ;; preference to avoid spilling problems (unwind-dw2-fde.c at build). ;; FIXME: Revisit for new register allocator. diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 2e174710a75..490d195a44e 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -16249,7 +16249,7 @@ ix86_expand_unary_operator (enum rtx_code code, enum machine_mode mode, } /* Split 32bit/64bit divmod with 8bit unsigned divmod if dividend and - divisor are within the the range [0-255]. */ + divisor are within the range [0-255]. */ void ix86_split_idivmod (enum machine_mode mode, rtx operands[], @@ -16283,7 +16283,7 @@ ix86_split_idivmod (enum machine_mode mode, rtx operands[], scratch = gen_reg_rtx (mode); - /* Use 8bit unsigned divimod if dividend and divisor are within the + /* Use 8bit unsigned divimod if dividend and divisor are within the range [0-255]. */ emit_move_insn (scratch, operands[2]); scratch = expand_simple_binop (mode, IOR, scratch, operands[3], @@ -20984,23 +20984,24 @@ smallest_pow2_greater_than (int val) return ret; } -/* Expand string move (memcpy) operation. Use i386 string operations when - profitable. expand_setmem contains similar code. The code depends upon - architecture, block size and alignment, but always has the same - overall structure: +/* Expand string move (memcpy) operation. Use i386 string operations + when profitable. expand_setmem contains similar code. The code + depends upon architecture, block size and alignment, but always has + the same overall structure: 1) Prologue guard: Conditional that jumps up to epilogues for small - blocks that can be handled by epilogue alone. This is faster but - also needed for correctness, since prologue assume the block is larger - than the desired alignment. + blocks that can be handled by epilogue alone. This is faster + but also needed for correctness, since prologue assume the block + is larger than the desired alignment. Optional dynamic check for size and libcall for large blocks is emitted here too, with -minline-stringops-dynamically. - 2) Prologue: copy first few bytes in order to get destination aligned - to DESIRED_ALIGN. It is emitted only when ALIGN is less than - DESIRED_ALIGN and and up to DESIRED_ALIGN - ALIGN bytes can be copied. - We emit either a jump tree on power of two sized blocks, or a byte loop. + 2) Prologue: copy first few bytes in order to get destination + aligned to DESIRED_ALIGN. It is emitted only when ALIGN is less + than DESIRED_ALIGN and up to DESIRED_ALIGN - ALIGN bytes can be + copied. We emit either a jump tree on power of two sized + blocks, or a byte loop. 3) Main body: the copying loop itself, copying in SIZE_NEEDED chunks with specified algorithm. diff --git a/gcc/config/i386/smmintrin.h b/gcc/config/i386/smmintrin.h index e12c56a176d..9a04b7a1b15 100644 --- a/gcc/config/i386/smmintrin.h +++ b/gcc/config/i386/smmintrin.h @@ -597,7 +597,7 @@ _mm_stream_load_si128 (__m128i *__X) #define _SIDD_CMP_EQUAL_EACH 0x08 #define _SIDD_CMP_EQUAL_ORDERED 0x0c -/* These macros specify the the polarity. */ +/* These macros specify the polarity. */ #define _SIDD_POSITIVE_POLARITY 0x00 #define _SIDD_NEGATIVE_POLARITY 0x10 #define _SIDD_MASKED_POSITIVE_POLARITY 0x20 diff --git a/gcc/config/mips/mips-protos.h b/gcc/config/mips/mips-protos.h index cda66861d5f..b28b0b39165 100644 --- a/gcc/config/mips/mips-protos.h +++ b/gcc/config/mips/mips-protos.h @@ -72,7 +72,7 @@ enum mips_symbol_context { SYMBOL_GOTOFF_DISP An UNSPEC wrapper around a SYMBOL_GOT_DISP. It represents the - the offset from _gp of the symbol's GOT entry. + offset from _gp of the symbol's GOT entry. SYMBOL_GOTOFF_CALL Like SYMBOL_GOTOFF_DISP, but used when calling a global function. diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c index 74c7ba56d05..f65964b63e8 100644 --- a/gcc/config/mips/mips.c +++ b/gcc/config/mips/mips.c @@ -10783,25 +10783,26 @@ mips_cannot_change_mode_class (enum machine_mode from ATTRIBUTE_UNUSED, enum machine_mode to ATTRIBUTE_UNUSED, enum reg_class rclass) { - /* There are several problems with changing the modes of values - in floating-point registers: + /* There are several problems with changing the modes of values in + floating-point registers: - When a multi-word value is stored in paired floating-point - registers, the first register always holds the low word. - We therefore can't allow FPRs to change between single-word - and multi-word modes on big-endian targets. + registers, the first register always holds the low word. We + therefore can't allow FPRs to change between single-word and + multi-word modes on big-endian targets. - - GCC assumes that each word of a multiword register can be accessed - individually using SUBREGs. This is not true for floating-point - registers if they are bigger than a word. + - GCC assumes that each word of a multiword register can be + accessed individually using SUBREGs. This is not true for + floating-point registers if they are bigger than a word. - Loading a 32-bit value into a 64-bit floating-point register - will not sign-extend the value, despite what LOAD_EXTEND_OP says. - We can't allow FPRs to change from SImode to to a wider mode on - 64-bit targets. + will not sign-extend the value, despite what LOAD_EXTEND_OP + says. We can't allow FPRs to change from SImode to a wider + mode on 64-bit targets. - - If the FPU has already interpreted a value in one format, we must - not ask it to treat the value as having a different format. + - If the FPU has already interpreted a value in one format, we + must not ask it to treat the value as having a different + format. We therefore disallow all mode changes involving FPRs. */ return reg_classes_intersect_p (FP_REGS, rclass); diff --git a/gcc/config/s390/s390.c b/gcc/config/s390/s390.c index 7e84ff1fc27..caee07758fe 100644 --- a/gcc/config/s390/s390.c +++ b/gcc/config/s390/s390.c @@ -4012,7 +4012,7 @@ s390_legitimize_address (rtx x, rtx oldx ATTRIBUTE_UNUSED, } /* Try a machine-dependent way of reloading an illegitimate address AD - operand. If we find one, push the reload and and return the new address. + operand. If we find one, push the reload and return the new address. MODE is the mode of the enclosing MEM. OPNUM is the operand number and TYPE is the reload type of the current reload. */ diff --git a/gcc/config/sh/sh.c b/gcc/config/sh/sh.c index 926c2f59ddc..78f6f0f4fa3 100644 --- a/gcc/config/sh/sh.c +++ b/gcc/config/sh/sh.c @@ -9105,7 +9105,7 @@ sh2a_is_function_vector_call (rtx x) return 0; } -/* Returns the function vector number, if the the attribute +/* Returns the function vector number, if the attribute 'function_vector' is assigned, otherwise returns zero. */ int sh2a_get_function_vector_number (rtx x) diff --git a/gcc/config/spu/spu.c b/gcc/config/spu/spu.c index 8a5928b6638..941194b4b67 100644 --- a/gcc/config/spu/spu.c +++ b/gcc/config/spu/spu.c @@ -2662,13 +2662,14 @@ insert_hbrp_for_ilb_runout (rtx first) /* The SPU might hang when it executes 48 inline instructions after a hinted branch jumps to its hinted target. The beginning of a - function and the return from a call might have been hinted, and must - be handled as well. To prevent a hang we insert 2 hbrps. The first - should be within 6 insns of the branch target. The second should be - within 22 insns of the branch target. When determining if hbrps are - necessary, we look for only 32 inline instructions, because up to to - 12 nops and 4 hbrps could be inserted. Similarily, when inserting - new hbrps, we insert them within 4 and 16 insns of the target. */ + function and the return from a call might have been hinted, and + must be handled as well. To prevent a hang we insert 2 hbrps. The + first should be within 6 insns of the branch target. The second + should be within 22 insns of the branch target. When determining + if hbrps are necessary, we look for only 32 inline instructions, + because up to 12 nops and 4 hbrps could be inserted. Similarily, + when inserting new hbrps, we insert them within 4 and 16 insns of + the target. */ static void insert_hbrp (void) { @@ -4370,7 +4371,7 @@ store_with_one_insn_p (rtx mem) { /* We use the associated declaration to make sure the access is referring to the whole object. - We check both MEM_EXPR and and SYMBOL_REF_DECL. I'm not sure + We check both MEM_EXPR and SYMBOL_REF_DECL. I'm not sure if it is necessary. Will there be cases where one exists, and the other does not? Will there be cases where both exist, but have different types? */ diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c index bbccb671204..55ae173a02d 100644 --- a/gcc/cp/decl.c +++ b/gcc/cp/decl.c @@ -1089,7 +1089,7 @@ warn_extern_redeclared_static (tree newdecl, tree olddecl) return; /* If the old declaration was `static', or the new one isn't, then - then everything is OK. */ + everything is OK. */ if (DECL_THIS_STATIC (olddecl) || !DECL_THIS_STATIC (newdecl)) return; diff --git a/gcc/cp/name-lookup.c b/gcc/cp/name-lookup.c index 2136df62118..b95dd7f2354 100644 --- a/gcc/cp/name-lookup.c +++ b/gcc/cp/name-lookup.c @@ -4146,10 +4146,10 @@ qualified_lookup_using_namespace (tree name, tree scope, /* Look through namespace aliases. */ scope = ORIGINAL_NAMESPACE (scope); - /* Algorithm: Starting with SCOPE, walk through the the set of used + /* Algorithm: Starting with SCOPE, walk through the set of used namespaces. For each used namespace, look through its inline - namespace set for any bindings and usings. If no bindings are found, - add any usings seen to the set of used namespaces. */ + namespace set for any bindings and usings. If no bindings are + found, add any usings seen to the set of used namespaces. */ VEC_safe_push (tree, gc, todo, scope); while (VEC_length (tree, todo)) diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 0065956ee3e..89eb525caa9 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -7708,7 +7708,7 @@ or in GNU ld 2.21 or newer. This option enables the extraction of object files with GIMPLE bytecode out of library archives. This improves the quality of optimization by exposing more -code the the link time optimizer. This information specify what symbols +code the link time optimizer. This information specify what symbols can be accessed externally (by non-LTO object or during dynamic linking). Resulting code quality improvements on binaries (and shared libraries that do use hidden visibility) is similar to @code{-fwhole-program}. See diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index 7e76e381373..de0381fcb1b 100644 --- a/gcc/doc/tm.texi +++ b/gcc/doc/tm.texi @@ -94,7 +94,7 @@ from being defined in the @file{.h} file to being part of the Similarly, there is a @code{targetcm} variable for hooks that are specific to front ends for C-family languages, documented as ``C Target Hook''. This is declared in @file{c-family/c-target.h}, the -the initializer @code{TARGETCM_INITIALIZER} in +initializer @code{TARGETCM_INITIALIZER} in @file{c-family/c-target-def.h}. If targets initialize @code{targetcm} themselves, they should set @code{target_has_targetcm=yes} in @file{config.gcc}; otherwise a default definition is used. @@ -2332,7 +2332,7 @@ either a floating point (coprocessor) register or a general register for a certain operand, you should define a class @code{FLOAT_OR_GENERAL_REGS} which includes both of them. Otherwise you will get suboptimal code, or even internal compiler errors when reload cannot find a register in the -the class computed via @code{reg_class_subunion}. +class computed via @code{reg_class_subunion}. You must also specify certain redundant information about the register classes: for each class, which classes contain it and which ones are diff --git a/gcc/doc/tm.texi.in b/gcc/doc/tm.texi.in index e6e778f1fd3..8ae45957663 100644 --- a/gcc/doc/tm.texi.in +++ b/gcc/doc/tm.texi.in @@ -94,7 +94,7 @@ from being defined in the @file{.h} file to being part of the Similarly, there is a @code{targetcm} variable for hooks that are specific to front ends for C-family languages, documented as ``C Target Hook''. This is declared in @file{c-family/c-target.h}, the -the initializer @code{TARGETCM_INITIALIZER} in +initializer @code{TARGETCM_INITIALIZER} in @file{c-family/c-target-def.h}. If targets initialize @code{targetcm} themselves, they should set @code{target_has_targetcm=yes} in @file{config.gcc}; otherwise a default definition is used. @@ -2322,7 +2322,7 @@ either a floating point (coprocessor) register or a general register for a certain operand, you should define a class @code{FLOAT_OR_GENERAL_REGS} which includes both of them. Otherwise you will get suboptimal code, or even internal compiler errors when reload cannot find a register in the -the class computed via @code{reg_class_subunion}. +class computed via @code{reg_class_subunion}. You must also specify certain redundant information about the register classes: for each class, which classes contain it and which ones are diff --git a/gcc/fortran/frontend-passes.c b/gcc/fortran/frontend-passes.c index cabfd285586..b8288a85043 100644 --- a/gcc/fortran/frontend-passes.c +++ b/gcc/fortran/frontend-passes.c @@ -886,7 +886,7 @@ gfc_expr_walker (gfc_expr **e, walk_expr_fn_t exprfn, void *data) break; /* Fall through to the variable case in order to walk the - the reference. */ + reference. */ case EXPR_SUBSTRING: case EXPR_VARIABLE: diff --git a/gcc/fortran/gfortran.texi b/gcc/fortran/gfortran.texi index 2f63bbb7f88..bbd8b2e4697 100644 --- a/gcc/fortran/gfortran.texi +++ b/gcc/fortran/gfortran.texi @@ -810,7 +810,7 @@ list can be found below. See also the including @code{PASS}, @code{PROCEDURE} and @code{GENERIC}, and operators bound to a type. -@item Abstract interfaces and and type extension with the possibility to +@item Abstract interfaces and type extension with the possibility to override type-bound procedures or to have deferred binding. @item Polymorphic entities (``@code{CLASS}'') for derived types -- including diff --git a/gcc/fortran/intrinsic.texi b/gcc/fortran/intrinsic.texi index a13c83350e4..ebffb1233a3 100644 --- a/gcc/fortran/intrinsic.texi +++ b/gcc/fortran/intrinsic.texi @@ -2763,7 +2763,7 @@ the @code{COMPILER_OPTIONS} intrinsic. @smallexample use iso_fortran_env print '(4a)', 'This file was compiled by ', & - compiler_version(), ' using the the options ', & + compiler_version(), ' using the options ', & compiler_options() end @end smallexample @@ -2805,7 +2805,7 @@ It contains the name of the compiler and its version number. @smallexample use iso_fortran_env print '(4a)', 'This file was compiled by ', & - compiler_version(), ' using the the options ', & + compiler_version(), ' using the options ', & compiler_options() end @end smallexample diff --git a/gcc/fortran/target-memory.c b/gcc/fortran/target-memory.c index 0a09f5a5e37..03a5b58c8a3 100644 --- a/gcc/fortran/target-memory.c +++ b/gcc/fortran/target-memory.c @@ -495,7 +495,7 @@ gfc_interpret_derived (unsigned char *buffer, size_t buffer_size, gfc_expr *resu /* The constructor points to the component. */ c->n.component = cmp; - /* Calculate the offset, which consists of the the FIELD_OFFSET in + /* Calculate the offset, which consists of the FIELD_OFFSET in bytes, which appears in multiples of DECL_OFFSET_ALIGN-bit-sized, and additional bits of FIELD_BIT_OFFSET. The code assumes that all sizes of the components are multiples of BITS_PER_UNIT, diff --git a/gcc/fortran/trans-decl.c b/gcc/fortran/trans-decl.c index cc6fced4c0c..acd6c4a4351 100644 --- a/gcc/fortran/trans-decl.c +++ b/gcc/fortran/trans-decl.c @@ -1697,7 +1697,7 @@ gfc_get_extern_function_decl (gfc_symbol * sym) /* Initialize DECL_EXTERNAL and TREE_PUBLIC before calling decl_attributes; TREE_PUBLIC specifies whether a function is globally addressable (i.e. - the the opposite of declaring a function as static in C). */ + the opposite of declaring a function as static in C). */ DECL_EXTERNAL (fndecl) = 1; TREE_PUBLIC (fndecl) = 1; @@ -1780,7 +1780,7 @@ build_function_decl (gfc_symbol * sym, bool global) /* Initialize DECL_EXTERNAL and TREE_PUBLIC before calling decl_attributes; TREE_PUBLIC specifies whether a function is globally addressable (i.e. - the the opposite of declaring a function as static in C). */ + the opposite of declaring a function as static in C). */ DECL_EXTERNAL (fndecl) = 0; if (!current_function_decl diff --git a/gcc/fortran/trans-expr.c b/gcc/fortran/trans-expr.c index 41ee5eee931..dc9168a0957 100644 --- a/gcc/fortran/trans-expr.c +++ b/gcc/fortran/trans-expr.c @@ -3600,7 +3600,7 @@ gfc_conv_procedure_call (gfc_se * se, gfc_symbol * sym, /* If there are alternate return labels, function type should be integer. Can't modify the type in place though, since it can be shared with other functions. For dummy arguments, the typing is done to - to this result, even if it has to be repeated for each call. */ + this result, even if it has to be repeated for each call. */ if (has_alternate_specifier && TREE_TYPE (TREE_TYPE (TREE_TYPE (se->expr))) != integer_type_node) { diff --git a/gcc/fortran/trans-types.c b/gcc/fortran/trans-types.c index 7e12f08beaf..ebc8c23bdbd 100644 --- a/gcc/fortran/trans-types.c +++ b/gcc/fortran/trans-types.c @@ -2225,7 +2225,7 @@ gfc_get_derived_type (gfc_symbol * derived) goto copy_derived_types; /* If a whole file compilation, the derived types from an earlier - namespace can be used as the the canonical type. */ + namespace can be used as the canonical type. */ if (gfc_option.flag_whole_file && derived->backend_decl == NULL && !derived->attr.use_assoc diff --git a/gcc/gengtype.c b/gcc/gengtype.c index 4d9e8c86fc1..20c5d45727c 100644 --- a/gcc/gengtype.c +++ b/gcc/gengtype.c @@ -1952,7 +1952,7 @@ matching_file_name_substitute (const char *filnam, regmatch_t pmatch[10], /* An output file, suitable for definitions, that can see declarations made in INPF and is linked into every language that uses INPF. - Since the the result is cached inside INPF, that argument cannot be + Since the result is cached inside INPF, that argument cannot be declared constant, but is "almost" constant. */ outf_p diff --git a/gcc/genhooks.c b/gcc/genhooks.c index 89f60c9ce44..d70c4fe8b89 100644 --- a/gcc/genhooks.c +++ b/gcc/genhooks.c @@ -37,7 +37,7 @@ static struct hook_desc hook_array[] = { #undef DEFHOOK }; -/* For each @Fcode in the the first paragraph of the documentation string DOC, +/* For each @Fcode in the first paragraph of the documentation string DOC, print an @findex directive. HOOK_NAME is the name of the hook this bit of documentation pertains to. */ static void diff --git a/gcc/gimple.c b/gcc/gimple.c index 96dacf81b0b..1cc16d4bc51 100644 --- a/gcc/gimple.c +++ b/gcc/gimple.c @@ -2314,7 +2314,7 @@ gimple_has_side_effects (const_gimple s) /* Return true if the RHS of statement S has side effects. We may use it to determine if it is admissable to replace an assignment or call with a copy of a previously-computed - value. In such cases, side-effects due the the LHS are + value. In such cases, side-effects due to the LHS are preserved. */ bool diff --git a/gcc/haifa-sched.c b/gcc/haifa-sched.c index 6908a113e63..3b05f1b7471 100644 --- a/gcc/haifa-sched.c +++ b/gcc/haifa-sched.c @@ -852,7 +852,7 @@ dep_cost_1 (dep_t link, dw_t dw) /* A USE insn should never require the value used to be computed. This allows the computation of a function's result and parameter values to overlap the return and call. We don't care about the - the dependence cost when only decreasing register pressure. */ + dependence cost when only decreasing register pressure. */ if (recog_memoized (used) < 0) { cost = 0; diff --git a/gcc/ipa-prop.c b/gcc/ipa-prop.c index 82599f1d10c..edeffc2533c 100644 --- a/gcc/ipa-prop.c +++ b/gcc/ipa-prop.c @@ -1515,9 +1515,9 @@ ipa_analyze_params_uses (struct cgraph_node *node, info->uses_analysis_done = 1; } -/* Initialize the array describing properties of of formal parameters of NODE, - analyze their uses and and compute jump functions associated with actual - arguments of calls from within NODE. */ +/* Initialize the array describing properties of of formal parameters + of NODE, analyze their uses and compute jump functions associated + with actual arguments of calls from within NODE. */ void ipa_analyze_node (struct cgraph_node *node) diff --git a/gcc/ira-emit.c b/gcc/ira-emit.c index 0219342d4c5..01a94420aa8 100644 --- a/gcc/ira-emit.c +++ b/gcc/ira-emit.c @@ -229,7 +229,7 @@ free_move_list (move_t head) } } -/* Return TRUE if the the move list LIST1 and LIST2 are equal (two +/* Return TRUE if the move list LIST1 and LIST2 are equal (two moves are equal if they involve the same allocnos). */ static bool eq_move_lists_p (move_t list1, move_t list2) diff --git a/gcc/ira-int.h b/gcc/ira-int.h index 9ea8041079e..ed7ffe5852f 100644 --- a/gcc/ira-int.h +++ b/gcc/ira-int.h @@ -805,7 +805,7 @@ struct target_ira_int { int x_ira_class_subset_p[N_REG_CLASSES][N_REG_CLASSES]; /* Array of the number of hard registers of given class which are - available for allocation. The order is defined by the the hard + available for allocation. The order is defined by the hard register numbers. */ short x_ira_non_ordered_class_hard_regs[N_REG_CLASSES][FIRST_PSEUDO_REGISTER]; diff --git a/gcc/java/jcf-parse.c b/gcc/java/jcf-parse.c index ac0f0d3be52..feeddadb50f 100644 --- a/gcc/java/jcf-parse.c +++ b/gcc/java/jcf-parse.c @@ -1762,7 +1762,7 @@ java_parse_file (void) next = list + count; avail = avail - count; } - /* Subtract to to guarantee space for final '\0'. */ + /* Subtract one to guarantee space for final '\0'. */ count = fread (next, 1, avail - 1, finput); if (count == 0) { diff --git a/gcc/lto-streamer.c b/gcc/lto-streamer.c index 06afb97f355..c6738d27e64 100644 --- a/gcc/lto-streamer.c +++ b/gcc/lto-streamer.c @@ -529,7 +529,7 @@ lto_record_common_node (tree *nodep, VEC(tree, heap) **common_nodes, /* Generate a vector of common nodes and make sure they are merged - properly according to the the gimple type table. */ + properly according to the gimple type table. */ static VEC(tree,heap) * lto_get_common_nodes (void) diff --git a/gcc/lto/lto.c b/gcc/lto/lto.c index 556e7e69d16..45bdb703427 100644 --- a/gcc/lto/lto.c +++ b/gcc/lto/lto.c @@ -186,9 +186,10 @@ lto_materialize_function (struct cgraph_node *node) } -/* Decode the content of memory pointed to by DATA in the the - in decl state object STATE. DATA_IN points to a data_in structure for - decoding. Return the address after the decoded object in the input. */ +/* Decode the content of memory pointed to by DATA in the in decl + state object STATE. DATA_IN points to a data_in structure for + decoding. Return the address after the decoded object in the + input. */ static const uint32_t * lto_read_in_decl_state (struct data_in *data_in, const uint32_t *data, diff --git a/gcc/matrix-reorg.c b/gcc/matrix-reorg.c index c3031430e83..d2d4fa181c6 100644 --- a/gcc/matrix-reorg.c +++ b/gcc/matrix-reorg.c @@ -846,7 +846,7 @@ analyze_matrix_allocation_site (struct matrix_info *mi, gimple stmt, } /* The transposing decision making. - In order to to calculate the profitability of transposing, we collect two + In order to calculate the profitability of transposing, we collect two types of information regarding the accesses: 1. profiling information used to express the hotness of an access, that is how often the matrix is accessed by this access site (count of the diff --git a/gcc/objc/objc-next-runtime-abi-02.c b/gcc/objc/objc-next-runtime-abi-02.c index 3de0d05bf70..4ce0159691f 100644 --- a/gcc/objc/objc-next-runtime-abi-02.c +++ b/gcc/objc/objc-next-runtime-abi-02.c @@ -2159,7 +2159,7 @@ build_v2_protocol_list_address_table (void) } /* TODO: delete the vec. */ - /* TODO: upgrade to the the clang/llvm hidden version. */ + /* TODO: upgrade to the clang/llvm hidden version. */ } /* This routine declares a variable to hold meta data for 'struct diff --git a/gcc/regs.h b/gcc/regs.h index a19a15db6a9..f8f2b1a7ce1 100644 --- a/gcc/regs.h +++ b/gcc/regs.h @@ -44,7 +44,7 @@ extern int max_regno; regstat_init_n_sets_and_refs from the current values of DF_REG_DEF_COUNT and DF_REG_USE_COUNT. REG_N_REFS and REG_N_SETS should only be used if a pass need to change these values in some - magical way or or the pass needs to have accurate values for these + magical way or the pass needs to have accurate values for these and is not using incremental df scanning. At the end of a pass that uses REG_N_REFS and REG_N_SETS, a call diff --git a/gcc/regstat.c b/gcc/regstat.c index 6c60e00aa49..bfd743bffd4 100644 --- a/gcc/regstat.c +++ b/gcc/regstat.c @@ -42,7 +42,7 @@ struct regstat_n_sets_and_refs_t *regstat_n_sets_and_refs; REG_N_SETS and REG_N_REFS. ----------------------------------------------------------------------------*/ -/* If a pass need to change these values in some magical way or or the +/* If a pass need to change these values in some magical way or the pass needs to have accurate values for these and is not using incremental df scanning, then it should use REG_N_SETS and REG_N_USES. If the pass is doing incremental scanning then it diff --git a/gcc/sel-sched.c b/gcc/sel-sched.c index 8a012acec9d..be56ded153b 100644 --- a/gcc/sel-sched.c +++ b/gcc/sel-sched.c @@ -2741,7 +2741,7 @@ compute_av_set_at_bb_end (insn_t insn, ilist_t p, int ws) sel_print ("real successors num: %d\n", sinfo->all_succs_n); } - /* Add insn to to the tail of current path. */ + /* Add insn to the tail of current path. */ ilist_add (&p, insn); FOR_EACH_VEC_ELT (rtx, sinfo->succs_ok, is, succ) diff --git a/gcc/targhooks.c b/gcc/targhooks.c index 419f6b11f75..93a2c305c8b 100644 --- a/gcc/targhooks.c +++ b/gcc/targhooks.c @@ -1189,9 +1189,10 @@ default_target_can_inline_p (tree caller, tree callee) else if (!caller_opts) ret = false; - /* If both caller and callee have attributes, assume that if the pointer is - different, the the two functions have different target options since - build_target_option_node uses a hash table for the options. */ + /* If both caller and callee have attributes, assume that if the + pointer is different, the two functions have different target + options since build_target_option_node uses a hash table for the + options. */ else ret = (callee_opts == caller_opts); -- 2.11.0