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: Fix fold_cond_expr_cond


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



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