mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-30 11:15:21 +08:00
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
This commit is contained in:
parent
1fc610939a
commit
754d92990a
@ -1,3 +1,7 @@
|
||||
2001-11-23 Joseph S. Myers <jsm28@cam.ac.uk>
|
||||
|
||||
* predict.c, reg-stack.c: Fix spelling errors.
|
||||
|
||||
2001-10-09 Andrew Haley <aph@redhat.com>
|
||||
|
||||
* calls.c (check_sibcall_argument_overlap): Use slot_offset for
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
@ -1,3 +1,8 @@
|
||||
2001-11-23 Joseph S. Myers <jsm28@cam.ac.uk>
|
||||
|
||||
* config/locale/moneypunct_members_gnu.cc,
|
||||
include/bits/locale_facets.h: Fix spelling errors.
|
||||
|
||||
2001-11-22 Stephen M. Webb <stephen@bregmasoft.com>
|
||||
|
||||
* testsuite/23_containers/list_capacity.cc: New file.
|
||||
|
@ -40,14 +40,14 @@ namespace std
|
||||
// Construct and return valid pattern consisting of some combination of:
|
||||
// space none symbol sign value
|
||||
money_base::pattern
|
||||
money_base::_S_construct_pattern(char __preceeds, char __space, char __posn)
|
||||
money_base::_S_construct_pattern(char __precedes, char __space, char __posn)
|
||||
{
|
||||
pattern __ret;
|
||||
|
||||
// This insanely complicated routine attempts to construct a valid
|
||||
// pattern for use with monyepunct. A couple of invariants:
|
||||
|
||||
// if (__preceeds) symbol -> value
|
||||
// if (__precedes) symbol -> value
|
||||
// else value -> symbol
|
||||
|
||||
// if (__space) space
|
||||
@ -65,7 +65,7 @@ namespace std
|
||||
if (__space)
|
||||
{
|
||||
// Pattern starts with sign.
|
||||
if (__preceeds)
|
||||
if (__precedes)
|
||||
{
|
||||
__ret.field[1] = symbol;
|
||||
__ret.field[2] = space;
|
||||
@ -82,7 +82,7 @@ namespace std
|
||||
else
|
||||
{
|
||||
// Pattern starts with sign and ends with none.
|
||||
if (__preceeds)
|
||||
if (__precedes)
|
||||
{
|
||||
__ret.field[1] = symbol;
|
||||
__ret.field[2] = value;
|
||||
@ -101,7 +101,7 @@ namespace std
|
||||
if (__space)
|
||||
{
|
||||
// Pattern either ends with sign.
|
||||
if (__preceeds)
|
||||
if (__precedes)
|
||||
{
|
||||
__ret.field[0] = symbol;
|
||||
__ret.field[1] = space;
|
||||
@ -118,7 +118,7 @@ namespace std
|
||||
else
|
||||
{
|
||||
// Pattern ends with sign then none.
|
||||
if (__preceeds)
|
||||
if (__precedes)
|
||||
{
|
||||
__ret.field[0] = symbol;
|
||||
__ret.field[1] = value;
|
||||
@ -137,7 +137,7 @@ namespace std
|
||||
if (__space)
|
||||
{
|
||||
// Have space.
|
||||
if (__preceeds)
|
||||
if (__precedes)
|
||||
{
|
||||
__ret.field[0] = sign;
|
||||
__ret.field[1] = symbol;
|
||||
@ -155,7 +155,7 @@ namespace std
|
||||
else
|
||||
{
|
||||
// Have none.
|
||||
if (__preceeds)
|
||||
if (__precedes)
|
||||
{
|
||||
__ret.field[0] = sign;
|
||||
__ret.field[1] = symbol;
|
||||
@ -175,7 +175,7 @@ namespace std
|
||||
if (__space)
|
||||
{
|
||||
// Have space.
|
||||
if (__preceeds)
|
||||
if (__precedes)
|
||||
{
|
||||
__ret.field[0] = symbol;
|
||||
__ret.field[1] = sign;
|
||||
@ -193,7 +193,7 @@ namespace std
|
||||
else
|
||||
{
|
||||
// Have none.
|
||||
if (__preceeds)
|
||||
if (__precedes)
|
||||
{
|
||||
__ret.field[0] = symbol;
|
||||
__ret.field[1] = sign;
|
||||
@ -243,16 +243,16 @@ namespace std
|
||||
// _Intl == true
|
||||
_M_curr_symbol = __nl_langinfo_l(__INT_CURR_SYMBOL, __cloc);
|
||||
_M_frac_digits = *(__nl_langinfo_l(__INT_FRAC_DIGITS, __cloc));
|
||||
char __ppreceeds = *(__nl_langinfo_l(__INT_P_CS_PRECEDES, __cloc));
|
||||
char __pprecedes = *(__nl_langinfo_l(__INT_P_CS_PRECEDES, __cloc));
|
||||
char __pspace = *(__nl_langinfo_l(__INT_P_SEP_BY_SPACE, __cloc));
|
||||
char __pposn = *(__nl_langinfo_l(__INT_P_SIGN_POSN, __cloc));
|
||||
_M_pos_format = _S_construct_pattern(__ppreceeds, __pspace, __pposn);
|
||||
char __npreceeds = *(__nl_langinfo_l(__INT_N_CS_PRECEDES, __cloc));
|
||||
_M_pos_format = _S_construct_pattern(__pprecedes, __pspace, __pposn);
|
||||
char __nprecedes = *(__nl_langinfo_l(__INT_N_CS_PRECEDES, __cloc));
|
||||
char __nspace = *(__nl_langinfo_l(__INT_N_SEP_BY_SPACE, __cloc));
|
||||
char __nposn = *(__nl_langinfo_l(__INT_N_SIGN_POSN, __cloc));
|
||||
if (!__nposn)
|
||||
_M_negative_sign = "()";
|
||||
_M_neg_format = _S_construct_pattern(__npreceeds, __nspace, __nposn);
|
||||
_M_neg_format = _S_construct_pattern(__nprecedes, __nspace, __nposn);
|
||||
}
|
||||
}
|
||||
|
||||
@ -285,16 +285,16 @@ namespace std
|
||||
// _Intl == false
|
||||
_M_curr_symbol = __nl_langinfo_l(__CURRENCY_SYMBOL, __cloc);
|
||||
_M_frac_digits = *(__nl_langinfo_l(__FRAC_DIGITS, __cloc));
|
||||
char __ppreceeds = *(__nl_langinfo_l(__P_CS_PRECEDES, __cloc));
|
||||
char __pprecedes = *(__nl_langinfo_l(__P_CS_PRECEDES, __cloc));
|
||||
char __pspace = *(__nl_langinfo_l(__P_SEP_BY_SPACE, __cloc));
|
||||
char __pposn = *(__nl_langinfo_l(__P_SIGN_POSN, __cloc));
|
||||
_M_pos_format = _S_construct_pattern(__ppreceeds, __pspace, __pposn);
|
||||
char __npreceeds = *(__nl_langinfo_l(__N_CS_PRECEDES, __cloc));
|
||||
_M_pos_format = _S_construct_pattern(__pprecedes, __pspace, __pposn);
|
||||
char __nprecedes = *(__nl_langinfo_l(__N_CS_PRECEDES, __cloc));
|
||||
char __nspace = *(__nl_langinfo_l(__N_SEP_BY_SPACE, __cloc));
|
||||
char __nposn = *(__nl_langinfo_l(__N_SIGN_POSN, __cloc));
|
||||
if (!__nposn)
|
||||
_M_negative_sign = "()";
|
||||
_M_neg_format = _S_construct_pattern(__npreceeds, __nspace, __nposn);
|
||||
_M_neg_format = _S_construct_pattern(__nprecedes, __nspace, __nposn);
|
||||
}
|
||||
}
|
||||
|
||||
@ -365,16 +365,16 @@ namespace std
|
||||
_M_curr_symbol = string_type();
|
||||
|
||||
_M_frac_digits = *(__nl_langinfo_l(__INT_FRAC_DIGITS, __cloc));
|
||||
char __ppreceeds = *(__nl_langinfo_l(__INT_P_CS_PRECEDES, __cloc));
|
||||
char __pprecedes = *(__nl_langinfo_l(__INT_P_CS_PRECEDES, __cloc));
|
||||
char __pspace = *(__nl_langinfo_l(__INT_P_SEP_BY_SPACE, __cloc));
|
||||
char __pposn = *(__nl_langinfo_l(__INT_P_SIGN_POSN, __cloc));
|
||||
_M_pos_format = _S_construct_pattern(__ppreceeds, __pspace, __pposn);
|
||||
char __npreceeds = *(__nl_langinfo_l(__INT_N_CS_PRECEDES, __cloc));
|
||||
_M_pos_format = _S_construct_pattern(__pprecedes, __pspace, __pposn);
|
||||
char __nprecedes = *(__nl_langinfo_l(__INT_N_CS_PRECEDES, __cloc));
|
||||
char __nspace = *(__nl_langinfo_l(__INT_N_SEP_BY_SPACE, __cloc));
|
||||
char __nposn = *(__nl_langinfo_l(__INT_N_SIGN_POSN, __cloc));
|
||||
if (!__nposn)
|
||||
_M_negative_sign = L"()";
|
||||
_M_neg_format = _S_construct_pattern(__npreceeds, __nspace, __nposn);
|
||||
_M_neg_format = _S_construct_pattern(__nprecedes, __nspace, __nposn);
|
||||
}
|
||||
}
|
||||
|
||||
@ -444,16 +444,16 @@ namespace std
|
||||
_M_curr_symbol = string_type();
|
||||
|
||||
_M_frac_digits = *(__nl_langinfo_l(__FRAC_DIGITS, __cloc));
|
||||
char __ppreceeds = *(__nl_langinfo_l(__P_CS_PRECEDES, __cloc));
|
||||
char __pprecedes = *(__nl_langinfo_l(__P_CS_PRECEDES, __cloc));
|
||||
char __pspace = *(__nl_langinfo_l(__P_SEP_BY_SPACE, __cloc));
|
||||
char __pposn = *(__nl_langinfo_l(__P_SIGN_POSN, __cloc));
|
||||
_M_pos_format = _S_construct_pattern(__ppreceeds, __pspace, __pposn);
|
||||
char __npreceeds = *(__nl_langinfo_l(__N_CS_PRECEDES, __cloc));
|
||||
_M_pos_format = _S_construct_pattern(__pprecedes, __pspace, __pposn);
|
||||
char __nprecedes = *(__nl_langinfo_l(__N_CS_PRECEDES, __cloc));
|
||||
char __nspace = *(__nl_langinfo_l(__N_SEP_BY_SPACE, __cloc));
|
||||
char __nposn = *(__nl_langinfo_l(__N_SIGN_POSN, __cloc));
|
||||
if (!__nposn)
|
||||
_M_negative_sign = L"()";
|
||||
_M_neg_format = _S_construct_pattern(__npreceeds, __nspace, __nposn);
|
||||
_M_neg_format = _S_construct_pattern(__nprecedes, __nspace, __nposn);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
@ -1476,7 +1476,7 @@ namespace std
|
||||
// Construct and return valid pattern consisting of some combination of:
|
||||
// space none symbol sign value
|
||||
static pattern
|
||||
_S_construct_pattern(char __preceeds, char __space, char __posn);
|
||||
_S_construct_pattern(char __precedes, char __space, char __posn);
|
||||
};
|
||||
|
||||
template<typename _CharT, bool _Intl>
|
||||
|
Loading…
Reference in New Issue
Block a user