This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [dataflow] [patch RFA] A SH specific patch
Kaz Kojima wrote:
> Kenneth Zadeck <zadeck@naturalbridge.com> wrote:
>
>> ok to check in both patches on the dataflow branch, thanks.
>>
>
> Thanks for the review! For the record, I've checked in the one
> liner for df_get_bb_dirt with the ChangeLog entry below.
>
> Regards,
> kaz
> --
> 2007-05-09 Kaz Kojima <kkojima@gcc.gnu.org>
>
> * df-core.c (df_get_bb_dirty): Return false if df_live is null.
>
> diff -up ORIG/dataflow/gcc/df-core.c LOCAL/dataflow/gcc/df-core.c
> --- ORIG/dataflow/gcc/df-core.c 2007-05-09 06:38:17.000000000 +0900
> +++ LOCAL/dataflow/gcc/df-core.c 2007-05-09 08:45:05.000000000 +0900
> @@ -1491,7 +1491,7 @@ df_mark_solutions_dirty (void)
> bool
> df_get_bb_dirty (basic_block bb)
> {
> - if (df)
> + if (df && df_live)
> return bitmap_bit_p (df_live->out_of_date_transfer_functions, bb->index);
> else
> return false;
>
btw - does the sh still bootstrap and regression test completely on the
branch?
kenny