[Mono-bugs] [Bug 27423][Nor] New - mono crashes in compile-time arithmetic
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
4 Jul 2002 18:46:40 -0000
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by vargaz@freemail.hu.
http://bugzilla.ximian.com/show_bug.cgi?id=27423
--- shadow/27423 Thu Jul 4 14:46:40 2002
+++ shadow/27423.tmp.27314 Thu Jul 4 14:46:40 2002
@@ -0,0 +1,26 @@
+Bug#: 27423
+Product: Mono/Runtime
+Version: unspecified
+OS: Debian Potato
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: vargaz@freemail.hu
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: mono crashes in compile-time arithmetic
+
+The code in jit.c tries to do divisions at JIT compile time, which will fail
+if the value to divide with is 0, e.g. with code like:
+
+ldc.i4.1
+ldc.i4.0
+div
+
+The attached patch fixes this.