This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: c/150: div-by-0 warnings


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]