[Mono-bugs] [Bug 52853][Nor] Changed - mcs incorrectly compiles assignment of null to ValueType

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 14 Jan 2004 13:26:03 -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 lupus@ximian.com.

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

--- shadow/52853	2004-01-14 12:24:43.000000000 -0500
+++ shadow/52853.tmp.15615	2004-01-14 13:26:03.000000000 -0500
@@ -1,23 +1,23 @@
 Bug#: 52853
-Product: Mono/Runtime
+Product: Mono/Compilers
 Version: unspecified
-OS: 
+OS: unknown
 OS Details: XP, cygwin-1.5.5-1
 Status: NEW   
 Resolution: 
-Severity: 
-Priority: Wishlist
-Component: misc
+Severity: Unknown
+Priority: Normal
+Component: C#
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: atsushi@ximian.com               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
 URL: 
 Cc: 
-Summary: using null with System.ValueType causes runtime crash
+Summary: mcs incorrectly compiles assignment of null to ValueType
 
 Basically null cannot be set to value types, but System.ValueType looks to 
 allow it under CLR.
 
 --------
 using System;
@@ -48,6 +48,9 @@
 How often does this happen? 
 
 Always (at least under cygwin).
 
 Additional Information:
 I tried both csc and mcs to generate this IL and both of them failed.
+
+------- Additional Comments From lupus@ximian.com  2004-01-14 13:26 -------
+The csc compiled code is executed just fine: this is a mcs bug.