df-problems.c (can_move_insns_across): Exit loop once we find a non-fixed, non-global register.
* df-problems.c (can_move_insns_across): Exit loop once we find a non-fixed, non-global register. * ipa-pure-const.c (propagate_nothrow): Exit loop after setting can_throw. * omega.c (omega_eliminate_red): Break after setting red_found. (omega_problem_has_red_equations): Similarly after setting found. (omega_query_variable): Similarly after setting coupled. * trans-decl.c (gfc_build_dummy_array_decl): Exit loop after setting PACKED_PARTIAL. From-SVN: r201132
This commit is contained in:
parent
9b6e6981e1
commit
ae382ebd8c
@ -1,3 +1,15 @@
|
||||
2013-07-22 Chang <pchang9@cs.wisc.edu>
|
||||
|
||||
* df-problems.c (can_move_insns_across): Exit loop once we
|
||||
find a non-fixed, non-global register.
|
||||
|
||||
* ipa-pure-const.c (propagate_nothrow): Exit loop after
|
||||
setting can_throw.
|
||||
|
||||
* omega.c (omega_eliminate_red): Break after setting red_found.
|
||||
(omega_problem_has_red_equations): Similarly after setting found.
|
||||
(omega_query_variable): Similarly after setting coupled.
|
||||
|
||||
2013-07-22 Marek Polacek <polacek@redhat.com>
|
||||
|
||||
* gimplify.c: Don't include gimple.h twice.
|
||||
|
@ -4040,7 +4040,10 @@ can_move_insns_across (rtx from, rtx to, rtx across_from, rtx across_to,
|
||||
if (i < FIRST_PSEUDO_REGISTER
|
||||
&& ! fixed_regs[i]
|
||||
&& ! global_regs[i])
|
||||
{
|
||||
fail = 1;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1,3 +1,8 @@
|
||||
2013-07-22 Chang <pchang9@cs.wisc.edu>
|
||||
|
||||
* trans-decl.c (gfc_build_dummy_array_decl): Exit loop after
|
||||
setting PACKED_PARTIAL.
|
||||
|
||||
2013-07-22 Tobias Burnus <burnus@net-b.de>
|
||||
|
||||
* trans-array.c (gfc_array_allocate): Correct memory-leak patch.
|
||||
|
@ -975,7 +975,10 @@ gfc_build_dummy_array_decl (gfc_symbol * sym, tree dummy)
|
||||
&& as->lower[n]
|
||||
&& as->upper[n]->expr_type == EXPR_CONSTANT
|
||||
&& as->lower[n]->expr_type == EXPR_CONSTANT))
|
||||
{
|
||||
packed = PACKED_PARTIAL;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
|
@ -1431,7 +1431,10 @@ propagate_nothrow (void)
|
||||
}
|
||||
for (ie = node->indirect_calls; ie; ie = ie->next_callee)
|
||||
if (ie->can_throw_external)
|
||||
{
|
||||
can_throw = true;
|
||||
break;
|
||||
}
|
||||
w_info = (struct ipa_dfs_info *) w->symbol.aux;
|
||||
w = w_info->next_cycle;
|
||||
}
|
||||
|
12
gcc/omega.c
12
gcc/omega.c
@ -2591,7 +2591,10 @@ omega_eliminate_red (omega_pb pb, bool eliminate_all)
|
||||
|
||||
for (red_found = 0, e = pb->num_geqs - 1; e >= 0; e--)
|
||||
if (pb->geqs[e].color == omega_red)
|
||||
{
|
||||
red_found = 1;
|
||||
break;
|
||||
}
|
||||
|
||||
if (!red_found)
|
||||
{
|
||||
@ -4853,7 +4856,10 @@ omega_problem_has_red_equations (omega_pb pb)
|
||||
|
||||
for (e = pb->num_geqs - 1; e >= 0; e--)
|
||||
if (pb->geqs[e].color == omega_red)
|
||||
{
|
||||
result = true;
|
||||
break;
|
||||
}
|
||||
|
||||
if (!result)
|
||||
return false;
|
||||
@ -4906,7 +4912,10 @@ omega_problem_has_red_equations (omega_pb pb)
|
||||
|
||||
for (e = pb->num_geqs - 1; e >= 0; e--)
|
||||
if (pb->geqs[e].color == omega_red)
|
||||
{
|
||||
result = true;
|
||||
break;
|
||||
}
|
||||
|
||||
if (dump_file && (dump_flags & TDF_DETAILS))
|
||||
{
|
||||
@ -5251,7 +5260,10 @@ omega_query_variable (omega_pb pb, int i, int *lower_bound, int *upper_bound)
|
||||
|
||||
for (e = pb->num_subs - 1; e >= 0; e--)
|
||||
if (pb->subs[e].coef[i] != 0)
|
||||
{
|
||||
coupled = true;
|
||||
break;
|
||||
}
|
||||
|
||||
for (e = pb->num_eqs - 1; e >= 0; e--)
|
||||
if (pb->eqs[e].coef[i] != 0)
|
||||
|
Loading…
Reference in New Issue
Block a user