From 1aa95df74202a50ca17f06e738c8fae303450fdd Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ond=C5=99ej=20B=C3=ADlka?= Date: Sun, 21 Jul 2013 18:18:04 +0000 Subject: [PATCH] Fix typos. From-SVN: r201109 --- gcc/loop-unroll.c | 2 +- gcc/lra-constraints.c | 2 +- gcc/lto-streamer-out.c | 2 +- gcc/lto/ChangeLog | 4 ++++ gcc/lto/lto-partition.c | 4 ++-- gcc/omp-low.c | 2 +- gcc/read-md.c | 4 ++-- gcc/recog.c | 2 +- gcc/sched-deps.c | 2 +- gcc/symtab.c | 2 +- gcc/tlink.c | 2 +- 11 files changed, 16 insertions(+), 12 deletions(-) diff --git a/gcc/loop-unroll.c b/gcc/loop-unroll.c index d03dc3d..fa02601 100644 --- a/gcc/loop-unroll.c +++ b/gcc/loop-unroll.c @@ -1632,7 +1632,7 @@ unroll_loop_stupid (struct loop *loop) for a loop to be really simple. We could update the counts, but the problem is that we are unable to decide which exit will be taken (not really true in case the number of iterations is constant, - but noone will do anything with this information, so we do not + but no one will do anything with this information, so we do not worry about it). */ desc->simple_p = false; } diff --git a/gcc/lra-constraints.c b/gcc/lra-constraints.c index e9cb1ad..5cb0645 100644 --- a/gcc/lra-constraints.c +++ b/gcc/lra-constraints.c @@ -4203,7 +4203,7 @@ need_for_call_save_p (int regno) PSEUDO_REGNO_MODE (regno), reg_renumber[regno]))); } -/* Global registers occuring in the current EBB. */ +/* Global registers occurring in the current EBB. */ static bitmap_head ebb_global_regs; /* Return true if we need a split for hard register REGNO or pseudo diff --git a/gcc/lto-streamer-out.c b/gcc/lto-streamer-out.c index 8fe7bd8..a962e9c 100644 --- a/gcc/lto-streamer-out.c +++ b/gcc/lto-streamer-out.c @@ -2303,7 +2303,7 @@ produce_symtab (struct output_block *ob) /* Write the symbol table. First write everything defined and then all declarations. - This is neccesary to handle cases where we have duplicated symbols. */ + This is necessary to handle cases where we have duplicated symbols. */ for (lsei = lsei_start (encoder); !lsei_end_p (lsei); lsei_next (&lsei)) { diff --git a/gcc/lto/ChangeLog b/gcc/lto/ChangeLog index b37a879..d655975 100644 --- a/gcc/lto/ChangeLog +++ b/gcc/lto/ChangeLog @@ -1,3 +1,7 @@ +2013-07-21 Ondřej Bílka + + * lto-partition.c: Fix typos. + 2013-06-20 Jan Hubicka * lto-partition.c (lto_balanced_map): Fix -fno-toplevel-reorder diff --git a/gcc/lto/lto-partition.c b/gcc/lto/lto-partition.c index 8782698..63e6ab9 100644 --- a/gcc/lto/lto-partition.c +++ b/gcc/lto/lto-partition.c @@ -852,7 +852,7 @@ may_need_named_section_p (lto_symtab_encoder_t encoder, symtab_node node) of the same name in partition ENCODER (or in whole compilation unit if ENCODER is NULL) and if so, mangle the statics. Always mangle all conflicting statics, so we reduce changes of silently miscompiling - asm statemnets refering to them by symbol name. */ + asm statemnets referring to them by symbol name. */ static void rename_statics (lto_symtab_encoder_t encoder, symtab_node node) @@ -902,7 +902,7 @@ rename_statics (lto_symtab_encoder_t encoder, symtab_node node) || lto_symtab_encoder_lookup (encoder, s) != LCC_NOT_FOUND)) { if (privatize_symbol_name (s)) - /* Re-start from beggining since we do not know how many symbols changed a name. */ + /* Re-start from beginning since we do not know how many symbols changed a name. */ s = symtab_node_for_asm (name); else s = s->symbol.next_sharing_asm_name; } diff --git a/gcc/omp-low.c b/gcc/omp-low.c index afddf37..e07c21a 100644 --- a/gcc/omp-low.c +++ b/gcc/omp-low.c @@ -4909,7 +4909,7 @@ expand_omp_for (struct omp_region *region) FALLTHRU_EDGE (region->cont)->flags &= ~EDGE_ABNORMAL; } else - /* If there isnt a continue then this is a degerate case where + /* If there isn't a continue then this is a degerate case where the introduction of abnormal edges during lowering will prevent original loops from being detected. Fix that up. */ loops_state_set (LOOPS_NEED_FIXUP); diff --git a/gcc/read-md.c b/gcc/read-md.c index fe96fe1..d32072b 100644 --- a/gcc/read-md.c +++ b/gcc/read-md.c @@ -881,7 +881,7 @@ traverse_enum_types (htab_trav callback, void *info) /* Process an "include" directive, starting with the optional space after the "include". Read in the file and use HANDLE_DIRECTIVE to process each unknown directive. LINENO is the line number on - which the "include" occured. */ + which the "include" occurred. */ static void handle_include (int lineno, directive_handler_t handle_directive) @@ -1027,7 +1027,7 @@ parse_include (const char *arg) } /* The main routine for reading .md files. Try to process all the .md - files specified on the command line and return true if no error occured. + files specified on the command line and return true if no error occurred. ARGC and ARGV are the arguments to main. diff --git a/gcc/recog.c b/gcc/recog.c index 0e6277d..6a607ba 100644 --- a/gcc/recog.c +++ b/gcc/recog.c @@ -1651,7 +1651,7 @@ asm_operand_ok (rtx op, const char *constraint, const char **constraints) case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': /* If caller provided constraints pointer, look up - the maching constraint. Otherwise, our caller should have + the matching constraint. Otherwise, our caller should have given us the proper matching constraint, but we can't actually fail the check if they didn't. Indicate that results are inconclusive. */ diff --git a/gcc/sched-deps.c b/gcc/sched-deps.c index 8270d58..3530901 100644 --- a/gcc/sched-deps.c +++ b/gcc/sched-deps.c @@ -4574,7 +4574,7 @@ attempt_change (struct mem_inc_info *mii, rtx new_addr) rtx mem = *mii->mem_loc; rtx new_mem; - /* Jump thru a lot of hoops to keep the attributes up to date. We + /* Jump through a lot of hoops to keep the attributes up to date. We do not want to call one of the change address variants that take an offset even though we know the offset in many cases. These assume you are changing where the address is pointing by the diff --git a/gcc/symtab.c b/gcc/symtab.c index 85d47a8..d15881b 100644 --- a/gcc/symtab.c +++ b/gcc/symtab.c @@ -874,7 +874,7 @@ symtab_alias_ultimate_target (symtab_node node, enum availability *availability) /* To determine visibility of the target, we follow ELF semantic of aliases. Here alias is an alternative assembler name of a given definition. Its - availablity prevails the availablity of its target (i.e. static alias of + availability prevails the availability of its target (i.e. static alias of weak definition is available. Weakref is a different animal (and not part of ELF per se). It is just diff --git a/gcc/tlink.c b/gcc/tlink.c index 8365bd3..142023c 100644 --- a/gcc/tlink.c +++ b/gcc/tlink.c @@ -768,7 +768,7 @@ scan_linker_output (const char *fname) constructor or destructor, there can be several mangled names that match it, so choose or unchoose all of them. If some are chosen and some not, leave the later ones that don't match - alone for now; either this will cause the link to suceed, or + alone for now; either this will cause the link to succeed, or on the next attempt we will switch all of them the other way and that will cause it to succeed. */ int chosen = 0; -- 2.7.4