c/150: div-by-0 warnings
neil@gcc.gnu.org
neil@gcc.gnu.org
Thu Oct 25 23:31:00 GMT 2001
Synopsis: div-by-0 warnings
Responsible-Changed-From-To: unassigned->neil
Responsible-Changed-By: neil
Responsible-Changed-When: Thu Oct 25 23:31:32 2001
Responsible-Changed-Why:
Tis mine.
State-Changed-From-To: analyzed->closed
State-Changed-By: neil
State-Changed-When: Thu Oct 25 23:31:32 2001
State-Changed-Why:
Fixed in 3.1 for integer division by zero in C.
No warning is emitted for floating point div by zero, since
this can be used to get NaNs and infinities.
C++ has existing slightly worse semantics; I hope to bring
those in line with the C front end sometime.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&pr=150&database=gcc
More information about the Gcc-prs
mailing list