[Mono-bugs] [Bug 78653][Nor] New - local deadce eliminates ldelem opcode which has a side effect

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Jun 15 07:37:35 EDT 2006


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 at gmail.com.

http://bugzilla.ximian.com/show_bug.cgi?id=78653

--- shadow/78653	2006-06-15 07:37:35.000000000 -0400
+++ shadow/78653.tmp.1539	2006-06-15 07:37:35.000000000 -0400
@@ -0,0 +1,34 @@
+Bug#: 78653
+Product: Mono: Runtime
+Version: 1.0
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: JIT
+AssignedTo: massi at ximian.com                            
+ReportedBy: vargaz at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: local deadce eliminates ldelem opcode which has a side effect
+
+Testcase:
+<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
+using System;
+
+public class Tests {
+
+ public static void Main ( String[] args )   {
+	 int[] arr = new int [10];
+
+	 int k = arr [11];
+ }
+}
+>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
+
+With the default opts, this runs successfully. With -O=-all, it throws
+the correct exception.


More information about the mono-bugs mailing list