This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Copy TREE_SIDE_EFFECTS during inlining
- From: "Richard Guenther" <richard dot guenther at gmail dot com>
- To: "Eric Botcazou" <ebotcazou at adacore dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 12 Jun 2008 13:58:45 +0200
- Subject: Re: [PATCH] Copy TREE_SIDE_EFFECTS during inlining
- References: <200806121344.00579.ebotcazou@adacore.com>
On Thu, Jun 12, 2008 at 1:44 PM, Eric Botcazou <ebotcazou@adacore.com> wrote:
> Hi,
>
> This is a follow-up to
>
> 2006-04-24 Andrew Pinski <pinskia@gcc.gnu.org>
> Richard Guenther <rguenther@suse.de>
>
> PR tree-optimization/27236
> * tree-inline.c (copy_body_r): Make sure to copy
> TREE_THIS_VOLATILE flag.
>
> TREE_SIDE_EFFECTS needs to be copied as well on INDIRECT_REF nodes.
>
> Tested on i586-suse-linux, OK for mainline?
Yes.
Thanks,
Richard.
>
> 2008-06-12 Eric Botcazou <ebotcazou@adacore.com>
>
> * tree-inline.c (copy_body_r): Copy TREE_SIDE_EFFECTS along with
> TREE_THIS_VOLATILE on INDIRECT_REF nodes.
>
>
> --
> Eric Botcazou
>