[Bug c++/44221] modulo of two variables results in: Floating point exception (core dumped)
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri May 21 00:33:00 GMT 2010
------- Comment #1 from pinskia at gcc dot gnu dot org 2010-05-21 00:33 -------
x % 0u is undefined which is what you are running into. So an exception
happens.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|major |normal
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44221
More information about the Gcc-bugs
mailing list