This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix fold_cond_expr_cond
- From: Jeffrey A Law <law at redhat dot com>
- To: Jan Hubicka <jh at suse dot cz>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 07 Mar 2005 20:53:57 -0700
- Subject: Re: Fix fold_cond_expr_cond
- Organization: Red Hat, Inc
- References: <20050305102332.GR22361@kam.mff.cuni.cz>
- Reply-to: law at redhat dot com
On Sat, 2005-03-05 at 11:23 +0100, Jan Hubicka wrote:
> Hi,
> fold_cond_expr_cond produces invalid gimple by putting integer 0/1
> instead of true/false as the outcome of conditional. Fixed thus.
> We get around without ICEing mostly because cleanup_cfg gets rid of them
> before verify_stmts is called (since it is not called at all mostly)
>
> Regtested bootstrapped/i686-pc-gnu-linux mainline and tree-profiling
> with no regressions, OK?
>
> 2005-03-05 Jan Hubicka <jh@suse.cz>
> * tree-cfg.c (fold_cond_expr_cond): Use boolean types for condition.
OK.
jeff