https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126042

--- Comment #6 from Drea Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #5)
> (In reply to Richard Biener from comment #4)
> > (In reply to Drea Pinski from comment #3)
> > > (In reply to Drea Pinski from comment #2)
> > > > But really combine_comparisons should be used. But that returns a tree. 
> > > > I am
> > > > going to change it to return a tree_code.
> > > 
> > > I have to figure out the best tree code to use for constant values of true
> > > and false. I am thinking MIN_EXPR (false) and MAX_EXPR (true).
> > 
> > Alternate return value?
> > 
> > tree_code combine_comparisons (..., tree *res)
> > 
> > where *res is a known result if any?
> 
> Possibly INTEGER_CST as tree_code return value in that case?

That would work.

Reply via email to