[Mono-bugs] [Bug 39833][Wis] New - checked conversion from float to integer types doesn't work

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Mon, 17 Mar 2003 07:51:52 -0500 (EST)


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 avd@openlinksw.com.

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

--- shadow/39833	Mon Mar 17 07:51:52 2003
+++ shadow/39833.tmp.6706	Mon Mar 17 07:51:52 2003
@@ -0,0 +1,35 @@
+Bug#: 39833
+Product: Mono/Runtime
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: avd@openlinksw.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: checked conversion from float to integer types doesn't work
+
+Description of Problem:
+
+when performing checked conversion from float or double to some integer
+types (but not all) the following exception is thrown:
+
+** (conv.exe:479): WARNING **: tree does not match in 00 test.test:Test8
+(double): 0x0012
+
+** ERROR **: file emit-x86.c: line 738 (mono_label_cfg): should not be reached
+aborting...
+ (STIND_I1 ADDR_L[1] (CONV_OVF_I1 (LDIND_R8 ADDR_L[5])))
+
+        (STIND_I1 ADDR_L[1] (CONV_OVF_I1 (LDIND_R8 ADDR_L[5])))
+        (ARG_I4 CONST_I4[136212296])
+        (CALL_VOID (LDIND_I4 ADDR_G) VFUNC_ADDR)
+        (CALL_VOID (LDIND_I4 ADDR_G) VFUNC_ADDR)
+        BR