This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Fix -ftree-loop-distribution (PR tree-optimization/39007)
- From: Sebastian Pop <sebastian dot pop at amd dot com>
- To: Kazu Hirata <kazu at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 29 Jan 2009 10:14:44 -0600
- Subject: Re: [patch] Fix -ftree-loop-distribution (PR tree-optimization/39007)
- References: <20090129160836.616BF6F62083@daisy.codesourcery.com>
On Thu, Jan 29, 2009 at 10:08 AM, Kazu Hirata <kazu@codesourcery.com> wrote:
> The patch fixes the problem with:
>
> set_immediate_dominator (CDI_DOMINATORS, dest,
> recompute_dominator (CDI_DOMINATORS, dest));
>
> Basic blocks for the loop are removed, so DEST should be the only
> basic block we need to update the immediate dominator of.
>
The patch looks good, but I cannot approve.
> Tested on x86_64-pc-linux-gnu. OK to apply?
>
> Kazu Hirata
>
> 2009-01-29 Kazu Hirata <kazu@codesourcery.com>
>
> PR tree-optimization/39007
> * tree-loop-distribution.c (generate_memset_zero): Use
> POINTER_PLUS_EXPR for a pointer addition.
This changelog entry should be something different...
Thanks for fixing this,
Sebastian