This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] SH: Bootstrap failure


Quoting Kaz Kojima <kkojima@rr.iij4u.or.jp>:

> > You are no longer guaranteed to call find_basic_blocks
> > before dbr_schedule.  The find_basic_blocks schould move
> > above the if (flag_schedule_insns_after_reload)
> > condition.
>
> Ugh.  Is the appended patch ok if the usual bootstrap/regression
> tests are successful on sh4-unknown-linux-gnu?
...
> +      EXIT_BLOCK_PTR->flags |= BB_RTL;
>        find_basic_blocks (insns);
> -      life_analysis (dump_file, PROP_FINAL);
>
> -      split_all_insns (1);
> +      if (flag_schedule_insns_after_reload)
> +	{
> +	  life_analysis (dump_file, PROP_FINAL);
...

Yes, OK.  Thanks for taking care of these problems.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]