ipa-inline-analysis.c (predicate_probability): Avoid comparison between signed and unsigned.
gcc/ * ipa-inline-analysis.c (predicate_probability): Avoid comparison between signed and unsigned. From-SVN: r179268
This commit is contained in:
parent
4ef69dfc4a
commit
0578e4172d
@ -1,3 +1,8 @@
|
||||
2011-09-27 Richard Sandiford <richard.sandiford@linaro.org>
|
||||
|
||||
* ipa-inline-analysis.c (predicate_probability): Avoid comparison
|
||||
between signed and unsigned.
|
||||
|
||||
2011-09-27 Ira Rosen <ira.rosen@linaro.org>
|
||||
|
||||
* tree-vect-stmts.c (vectorizable_type_demotion): Handle basic block
|
||||
|
@ -482,8 +482,8 @@ predicate_probability (conditions conds,
|
||||
i2 - predicate_first_dynamic_condition);
|
||||
if (c->code == CHANGED
|
||||
&& (c->operand_num
|
||||
< VEC_length (inline_param_summary_t,
|
||||
inline_param_summary)))
|
||||
< (int) VEC_length (inline_param_summary_t,
|
||||
inline_param_summary)))
|
||||
{
|
||||
int iprob = VEC_index (inline_param_summary_t,
|
||||
inline_param_summary,
|
||||
@ -2353,8 +2353,8 @@ remap_edge_change_prob (struct cgraph_edge *inlined_edge,
|
||||
struct ipa_jump_func *jfunc = ipa_get_ith_jump_func (args, i);
|
||||
if (jfunc->type == IPA_JF_PASS_THROUGH
|
||||
&& (jfunc->value.pass_through.formal_id
|
||||
< VEC_length (inline_param_summary_t,
|
||||
inlined_es->param)))
|
||||
< (int) VEC_length (inline_param_summary_t,
|
||||
inlined_es->param)))
|
||||
{
|
||||
int prob1 = VEC_index (inline_param_summary_t,
|
||||
es->param, i)->change_prob;
|
||||
|
Loading…
Reference in New Issue
Block a user