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] Copy TREE_SIDE_EFFECTS during inlining


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
>


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