[Mono-bugs] [Bug 59793][Nor] New - unknown operator: long_conv_to_ovf_u1_un

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 8 Jun 2004 09:36:01 -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 sebastien@ximian.com.

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

--- shadow/59793	2004-06-08 09:36:01.000000000 -0400
+++ shadow/59793.tmp.7807	2004-06-08 09:36:01.000000000 -0400
@@ -0,0 +1,73 @@
+Bug#: 59793
+Product: Mono: Runtime
+Version: unspecified
+OS: All
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: sebastien@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: unknown operator: long_conv_to_ovf_u1_un
+
+Description of Problem:
+We seems to have incomplete checked support in the JIT.
+
+
+Steps to reproduce the problem:
+1. Compile the following source code
+
+class T {
+	static void Main (string[] args) 
+	{
+		ulong ul = System.UInt64.Parse (args[0]);
+		byte b = checked ((byte) ul);
+		System.Console.WriteLine (b);
+	}
+}
+
+2. Execute it with 249 as it's parameter
+
+3. Execute it with 256 as it's parameter
+
+
+Actual Results:
+mono chk.exe 249
+
+** ERROR **: unknown operator: long_conv_to_ovf_u1_un
+aborting...
+Aborted
+
+mono chk.exe 256
+
+** ERROR **: unknown operator: long_conv_to_ovf_u1_un
+aborting...
+Aborted
+
+
+Expected Results (ms runtime):
+chk 249
+249
+
+chk 256
+Unhandled Exception: System.OverflowException: ...
+
+
+How often does this happen? 
+Always
+
+
+Additional Information:
+Even without parameters we receive the same abort with Mono.
+
+mono chk.exe
+
+** ERROR **: unknown operator: long_conv_to_ovf_u1_un
+aborting...
+Aborted