This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [tuples] Avoid generating too much garbage in gimplify_cond_expr (PR tree-optimization/36389)
- From: Diego Novillo <dnovillo at google dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: Aldy Hernandez <aldyh at redhat dot com>, gcc-patches at gcc dot gnu dot org
- Date: Mon, 2 Jun 2008 09:25:13 -0400
- Subject: Re: [tuples] Avoid generating too much garbage in gimplify_cond_expr (PR tree-optimization/36389)
- References: <20080531221032.GH16061@devserv.devel.redhat.com>
On Sat, May 31, 2008 at 18:10, Jakub Jelinek <jakub@redhat.com> wrote:
> 2008-05-31 Jakub Jelinek <jakub@redhat.com>
>
> PR tree-optimization/36389
> * gimplify.c (gimplify_cond_expr): If one or both branches are
> GOTO_EXPRs jumping to LABEL_DECLs, don't create unnecessary
> extra LABEL_DECLs and jumps around.
> * tree-cfg.c (remove_useless_stmts_cond): Set may_branch also
> for GIMPLE_COND stmts.
> * tree-eh.c (replace_goto_queue_cond_clause): Set label to
> create_artificial_label () rather than LABEL_EXPR.
OK.
Diego.