[Bug tree-optimization/101024] Missed min expression at phiopt1

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jun 11 11:44:19 GMT 2021


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

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
I have a start but there are a few patterns that need to be moved.
An example is from gcc.dg/tree-ssa/pr66726-4.c:
#define SAT(x) (x < 0 ? 0 : (x > 255 ? 255 : x))

void
foo (unsigned char *p, int i)
{
  *p = SAT (i);
}


More information about the Gcc-bugs mailing list