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] 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
--


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