From 754d92990a56ddb0319ecd360eed752684423f0a Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Fri, 23 Nov 2001 01:37:07 +0000 Subject: predict.c, [...]: Fix spelling errors. gcc: * predict.c, reg-stack.c: Fix spelling errors. libstdc++-v3: * config/locale/moneypunct_members_gnu.cc, include/bits/locale_facets.h: Fix spelling errors. From-SVN: r47278 --- gcc/ChangeLog | 4 ++++ gcc/predict.c | 10 +++++----- gcc/reg-stack.c | 8 ++++---- 3 files changed, 13 insertions(+), 9 deletions(-) (limited to 'gcc') diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6d72ac5..d010862 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2001-11-23 Joseph S. Myers + + * predict.c, reg-stack.c: Fix spelling errors. + 2001-10-09 Andrew Haley * calls.c (check_sibcall_argument_overlap): Use slot_offset for diff --git a/gcc/predict.c b/gcc/predict.c index dacefbe..ba52e52 100644 --- a/gcc/predict.c +++ b/gcc/predict.c @@ -611,7 +611,7 @@ typedef struct block_info_def int tovisit:1; /* Number of predecessors we need to visit first. */ - int npredecesors; + int npredecessors; } *block_info; /* Similar information for edges. */ @@ -659,7 +659,7 @@ propagate_freq (head) fprintf (rtl_dump_file, "Irreducible region hit, ignoring edge to %i->%i\n", e->src->index, bb->index); - BLOCK_INFO (bb)->npredecesors = count; + BLOCK_INFO (bb)->npredecessors = count; } } @@ -706,10 +706,10 @@ propagate_freq (head) /* Propagate to successor blocks. */ for (e = bb->succ; e; e = e->succ_next) if (!(e->flags & EDGE_DFS_BACK) - && BLOCK_INFO (e->dest)->npredecesors) + && BLOCK_INFO (e->dest)->npredecessors) { - BLOCK_INFO (e->dest)->npredecesors--; - if (!BLOCK_INFO (e->dest)->npredecesors) + BLOCK_INFO (e->dest)->npredecessors--; + if (!BLOCK_INFO (e->dest)->npredecessors) { if (!nextbb) nextbb = e->dest; diff --git a/gcc/reg-stack.c b/gcc/reg-stack.c index a2412e7..1ebb069 100644 --- a/gcc/reg-stack.c +++ b/gcc/reg-stack.c @@ -197,7 +197,7 @@ typedef struct block_info_def struct stack_def stack_out; /* Output stack configuration. */ HARD_REG_SET out_reg_set; /* Stack regs live on output. */ int done; /* True if block already converted. */ - int predecesors; /* Number of predecessors that needs + int predecessors; /* Number of predecessors that needs to be visited. */ } *block_info; @@ -458,7 +458,7 @@ reg_to_stack (first, file) for (e = bb->pred; e; e=e->pred_next) if (!(e->flags & EDGE_DFS_BACK) && e->src != ENTRY_BLOCK_PTR) - BLOCK_INFO (bb)->predecesors++; + BLOCK_INFO (bb)->predecessors++; } /* Create the replacement registers up front. */ @@ -2797,8 +2797,8 @@ convert_regs_2 (file, block) for (e = block->succ; e ; e = e->succ_next) if (! (e->flags & EDGE_DFS_BACK)) { - BLOCK_INFO (e->dest)->predecesors--; - if (!BLOCK_INFO (e->dest)->predecesors) + BLOCK_INFO (e->dest)->predecessors--; + if (!BLOCK_INFO (e->dest)->predecessors) *sp++ = e->dest; } } -- cgit v1.1