[Mono-bugs] [Bug 31040][Nor] New - mcs forgets to box valuetype return value

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
23 Sep 2002 18:12:35 -0000


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 vargaz@freemail.hu.

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

--- shadow/31040	Mon Sep 23 14:12:35 2002
+++ shadow/31040.tmp.30503	Mon Sep 23 14:12:35 2002
@@ -0,0 +1,29 @@
+Bug#: 31040
+Product: Mono/MCS
+Version: unspecified
+OS: Debian Woody
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: vargaz@freemail.hu               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: mcs forgets to box valuetype return value
+
+When compiling the attached testcase, mcs forgots to box the return value of
+the call before putting it into a variable, i.e. it generates the following
+code:
+
+call
+stloc.0
+
+instead of:
+call ...
+box ...
+stloc.0