Commit f3764768 by Alexander Monakov Committed by Alexander Monakov

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
parent df0aaa66
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> 2010-11-17 Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
* config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Support -fpic * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Support -fpic
...@@ -1595,7 +1595,7 @@ static void ...@@ -1595,7 +1595,7 @@ static void
init_expr (expr_t expr, vinsn_t vi, int spec, int use, int priority, 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, int sched_times, int orig_bb_index, ds_t spec_done_ds,
ds_t spec_to_check_ds, int orig_sched_cycle, 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 was_substituted, bool was_renamed, bool needs_spec_check_p,
bool cant_move) bool cant_move)
{ {
......
...@@ -3735,7 +3735,7 @@ fill_vec_av_set (av_set_t av, blist_t bnds, fence_t fence, ...@@ -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); expr_t expr = VEC_index (expr_t, vec_av_set, n);
insn_t insn = EXPR_INSN_RTX (expr); insn_t insn = EXPR_INSN_RTX (expr);
char target_available; signed char target_available;
bool is_orig_reg_p = true; bool is_orig_reg_p = true;
int need_cycles, new_prio; int need_cycles, new_prio;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment