re PR middle-end/46518 (internal compiler error: in vinsn_detach, at sel-sched-ir.c:1271)

PR middle-end/46518
        * sel-sched-ir.c (init_expr): Use the correct type for
        target_available.
        * sel-sched.c (fill_vec_av_set): Use explicitly signed char type.

From-SVN: r166898
This commit is contained in:
Alexander Monakov 2010-11-18 13:24:31 +03:00 committed by Alexander Monakov
parent df0aaa66d9
commit f3764768fa
3 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2010-11-18 Alexander Monakov <amonakov@ispras.ru>
PR middle-end/46518
* sel-sched-ir.c (init_expr): Use the correct type for
target_available.
* sel-sched.c (fill_vec_av_set): Use explicitly signed char type.
2010-11-17 Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
* config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Support -fpic

View File

@ -1595,7 +1595,7 @@ static void
init_expr (expr_t expr, vinsn_t vi, int spec, int use, int priority,
int sched_times, int orig_bb_index, ds_t spec_done_ds,
ds_t spec_to_check_ds, int orig_sched_cycle,
VEC(expr_history_def, heap) *history, bool target_available,
VEC(expr_history_def, heap) *history, signed char target_available,
bool was_substituted, bool was_renamed, bool needs_spec_check_p,
bool cant_move)
{

View File

@ -3735,7 +3735,7 @@ fill_vec_av_set (av_set_t av, blist_t bnds, fence_t fence,
{
expr_t expr = VEC_index (expr_t, vec_av_set, n);
insn_t insn = EXPR_INSN_RTX (expr);
char target_available;
signed char target_available;
bool is_orig_reg_p = true;
int need_cycles, new_prio;