[Bug c++/92298] The expression X / X is simplified to 1 even when the variable X is 0

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Oct 31 02:06:00 GMT 2019


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
0/0 is undefined.


More information about the Gcc-bugs mailing list