[Bug middle-end/46518] internal compiler error: in vinsn_detach, at sel-sched-ir.c:1271

howarth at nitro dot med.uc.edu gcc-bugzilla@gcc.gnu.org
Wed Nov 17 19:51:00 GMT 2010


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46518

--- Comment #11 from Jack Howarth <howarth at nitro dot med.uc.edu> 2010-11-17 19:26:31 UTC ---
(In reply to comment #10)
> Thanks.
> 
> diff --git a/gcc/sel-sched-ir.c b/gcc/sel-sched-ir.c
> index e169276..71c02c4 100644
> --- a/gcc/sel-sched-ir.c
> +++ b/gcc/sel-sched-ir.c
> @@ -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)
>  {

I can confirm that this eliminates the ICE (segfault) during the compilation of
gfortran.dg/pr42294.f on x86_64 Fedora10. Will test x86_64-apple-darwin10 next.



More information about the Gcc-bugs mailing list