On Mon, Mar 10, 2014 at 10:29 AM, bin.cheng <bin.ch...@arm.com> wrote:
> Hi,
> When I investigating PR60363 which is caused by previous patch for PR60280,
> I found there is a latent bug in remove_forwarder_block_with_phi because GCC
> doesn't update loop's latch information.  Without this patch, cfgcleanup
> facility will remove and rebuild the loop structure, resulting in loss of
> loop meta information.
>
> This patch is just an obvious pickup, but it isn't intended to fix pr60363.
>
> Test on cortex-m3
> Bootstrap and test on x86_64
>
> Is it OK?

Ok.

Thanks,
Richard.

>
> 2014-03-10  Bin Cheng  <bin.ch...@arm.com>
>
>         * tree-cfgcleanup.c (remove_forwarder_block_with_phi): Record
>         bb's single pred and update the father loop's latch info later.

Reply via email to