This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
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.