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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2021-01-08

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Guess we miss folders for this since it is represented as VEC_COND_EXPR from
the start (the testcase only builds with the C++ frontend) and scalar MIN/MAX
are usually detected by phiopt.  Ah, fold_cond_expr_with_comparison doesn't
handle adjusted constants:

return <retval> =  VEC_COND_EXPR < x >= { -99, -99, -99, -99 } , x , { -100,
-100, -100, -100 } > ;

Reply via email to