https://bugs.llvm.org/show_bug.cgi?id=46356
Craig Topper <craig.top...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |craig.top...@gmail.com
Resolution|--- |INVALID
Status|NEW |RESOLVED
--- Comment #1 from Craig Topper <craig.top...@gmail.com> ---
Integer division by 0 is undefined behavior. We aren't required to produce any
particular result and we aren't required to trap. gcc also produces a value of
1.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs