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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Handling this:
bool test1p(double d, double max)
{
   double t = -max;
    return (d < max) && (d > t);
}

Might be easier to begin with than handling test1 in comment #0.
The reason is phiopt with match and simplify only handles moving one statement
currently. I have been thinking about adding support for allowing for 2
statements.

Both things are decent first patches (well the match one is easier than the
phiopt change).

Reply via email to