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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2018-05-24
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed.  We can simply use the MAX of a range to do the compile-time
evaluation
(but only for compile-time equal result then optimize away the comparison).
For known-false compares we'd have to test all possible substrings.

Reply via email to