[LLVMbugs] [Bug 581] Division by Zero - Not an "error"?

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed Jun 15 10:54:50 PDT 2005


sabre at nondot.org changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

------- Additional Comments From sabre at nondot.org  2005-06-15 12:54 -------
This program is a valid C program and always works:

int main() {
  if (0) { return 10/0; }
  return 0;

Issuing a compile-time error on /0 is not an option for a conforming C compiler.


------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

More information about the llvm-bugs mailing list