This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Use fold in remove_useless_stmts_cond
- From: Roger Sayle <roger at eyesopen dot com>
- To: Andrew Pinski <pinskia at physics dot uc dot edu>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 13 Dec 2004 06:32:48 -0700 (MST)
- Subject: Re: [PATCH] Use fold in remove_useless_stmts_cond
On Mon, 13 Dec 2004, Andrew Pinski wrote:
>
> * tree-cfg.c (remove_useless_stmts_cond): Call fold on COND_EXPR_COND.
>
This is OK for mainline. For extra credit, could you investigate where
it is to we're creating these COND_EXPRs without calling fold on their
conditions? We may (or may not) be able to fix this upstream.
Thanks,
Roger
--