[Mono-bugs] [Bug 43838][Nor] New - Mono aborts with "unknown operator: local" with deadce optimizations

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Wed, 28 May 2003 19:23:14 -0400 (EDT)


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 mathpup@mylinuxisp.com.

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

--- shadow/43838	Wed May 28 19:23:14 2003
+++ shadow/43838.tmp.14527	Wed May 28 19:23:14 2003
@@ -0,0 +1,81 @@
+Bug#: 43838
+Product: Mono/Runtime
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: mathpup@mylinuxisp.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Mono aborts with "unknown operator: local" with deadce optimizations
+
+Description of Problem: 
+ 
+When I assemble and try to run the following program using Mono, it works with the 
+default optimizations for Linux, but it fails when the deadce optimization is specified. 
+ 
+Steps to reproduce the problem: 
+1. ilasm local_fail.il 
+2. mono -O=deadce local_fail.exe 
+ 
+ 
+Actual Results: 
+ 
+** ERROR **: unknown operator: local 
+aborting... 
+ 
+ 
+ 
+Expected Results: 
+ 
+(No output) 
+ 
+ 
+How often does this happen?  
+ 
+Always 
+ 
+ 
+Additional Information: 
+ 
+ 
+Test case: 
+ 
+.assembly Test {} 
+ 
+.class public Test { 
+.field public static int32 myField 
+ 
+.method public static int32 main() { 
+.entrypoint 
+.maxstack        10 
+ 
+ 
+        ldc.i4	2 
+        ldc.i4  1 
+        bgt.un  PASS 
+        br      FAIL 
+ 
+        ldc.i4	0 
+        brtrue	FAIL 
+ 
+ 
+        ldsfld  int32 Test::myField 
+        ldsfld  int32 Test::myField 
+        bne.un	FAIL 
+ 
+PASS: 
+        ldc.i4	0 
+        ret 
+FAIL: 
+        ldc.i4	1 
+        ret 
+} 
+}