[Mono-bugs] [Bug 78019][Nor] Changed - box+brtrue optimization shouldn't be applied to nullable types

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed May 31 05:29:38 EDT 2006


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 rharinath at novell.com.

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

--- shadow/78019	2006-04-07 17:19:38.000000000 -0400
+++ shadow/78019.tmp.27608	2006-05-31 05:29:38.000000000 -0400
@@ -1,23 +1,23 @@
 Bug#: 78019
-Product: Mono: Compilers
+Product: Mono: Runtime
 Version: 1.1
 OS: unknown
 OS Details: 
 Status: NEW   
 Resolution: 
 Severity: Unknown
 Priority: Normal
-Component: C#
-AssignedTo: martin at ximian.com                            
+Component: JIT
+AssignedTo: lupus at ximian.com                            
 ReportedBy: atsushi at ximian.com               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
 URL: 
 Cc: 
-Summary: [GMCS] nullable null constant is not stored as null.
+Summary: box+brtrue optimization shouldn't be applied to nullable types
 
 Probably gmcs fails to store Nullable constant as correct null but somewhat
 broken null.
 
 public class Test
 {
@@ -53,6 +53,14 @@
 
 consistently.
 
 Additional Information:
 
 If I compile it with csc, it works fine on mono.
+
+------- Additional Comments From rharinath at novell.com  2006-05-31 05:29 -------
+The sample code compiles down to
+
+  box !!0
+  brtrue ...
+
+This has a peephole in mini.c, which doesn't exclude nullable value types.


More information about the mono-bugs mailing list