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 [EMAIL PROTECTED] 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: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +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. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
