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] Fix tree-optimization/20139.


On Wed, 23 Feb 2005, Jeffrey A Law wrote:
> > 2005-02-22  Kazu Hirata  <kazu@cs.umass.edu>
> >
> > 	PR tree-optimization/20139
> > 	* tree-cfg.c (fold_cond_expr_cond): Export.
> > 	* tree-flow.h: Add a prototype for fold_cond_expr_cond.
> > 	* tree-optimize.c (execute_cleanup_cfg_post_optimizing): Call
> > 	fold_cond_expr_cond.
> >
> > 2005-02-22  Kazu Hirata  <kazu@cs.umass.edu>
> >
> > 	PR tree-optimization/20139
> > 	* gcc.dg/tree-ssa/pr20139.c: New.
> FWIW, we might consider just folding any expression that is subject
> to TER.  I've got a patch somewhere around here which does that.

Would it be sufficient to go with Kazu's fix?  "A patch
somewhere here" sounds like 4.1 material, and the 4.0 branch is
imminent.

brgds, H-P


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