This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [tuples][patch] Remove gimple_seq_has_side_effects, fix gimplifier to correctly wrap the function body into try/finally block, if required
- From: "Diego Novillo" <dnovillo at google dot com>
- To: "Oleg Ryjkov" <olegr at google dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 18 Mar 2008 14:10:03 -0400
- Subject: Re: [tuples][patch] Remove gimple_seq_has_side_effects, fix gimplifier to correctly wrap the function body into try/finally block, if required
- References: <14be89990803171750v43b18914x5cc78c6f5a3c055a@mail.gmail.com>
On Mon, Mar 17, 2008 at 20:50, Oleg Ryjkov <olegr@google.com> wrote:
> 2008-03-17 Diego Novillo <dnovillo@google.com>
> Oleg Ryjkov <olegr@google.com>
>
> * gimplify.c (gimplify_body): Copy the block information from
> the tree function body to gimple function body.
> (gimplify_function_tree): Correctly wrap the function body
> into the try/finally block if creating one.
> * gimple.c (gimple_seq_has_side_effects): Removed.
> * gimple.h (gimple_seq_has_side_effects): Removed declaration.
> * tree-cfg.c (remove_useless_stmts_tf, remove_useless_stmts_tc):
> Modified to use gimple_seq_empty_p instead of
> gimple_seq_has_side_effects.
>
OK.
Diego.