[Bug tree-optimization/80776] -Wformat-overflow false positive for %d on integer bounded by __builtin_unreachable

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue May 16 09:23:00 GMT 2017


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic,
                   |                            |missed-optimization
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-05-16
                 CC|                            |jakub at gcc dot gnu.org,
                   |                            |rguenth at gcc dot gnu.org
          Component|c                           |tree-optimization
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Possibly the walk in remove_range_assertions visits the latter before the
former block but in principle we do have code to handle this there.

Confirmed also as missed VRP optimization.


More information about the Gcc-bugs mailing list