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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2025-01-26

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Maybe the best way to solve this is have an IPA pass over analyzes the static
variables for their ranges and store that range off and then when VRP comes a
long and reads the range and records it.

In a similar sense as we handle return value ranges.

Note there might be other bug reports for a similar thing ...

Reply via email to