[Bug c++/92297] The expression 0 / X is simplified to 0 even when the variable X is 0
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Oct 31 01:43:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92297
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 so having 0 / X simplify to 0 is a valid thing to do.
What were you expecting?
More information about the Gcc-bugs
mailing list