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


> -      find_basic_blocks (insns);
> -      life_analysis (dump_file, PROP_FINAL);
> +      init_rtl_bb_info (ENTRY_BLOCK_PTR);
> +      init_rtl_bb_info (EXIT_BLOCK_PTR);
> +      ENTRY_BLOCK_PTR->flags |= BB_RTL;
> +      EXIT_BLOCK_PTR->flags |= BB_RTL;
>
> -      split_all_insns (1);
> +      if (flag_schedule_insns_after_reload)
> +	{
> +	  find_basic_blocks (insns);

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.


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