[Mono-bugs] [Bug 29597][Wis] Changed - .locals init does not zero the variables

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
4 Sep 2002 14:33:55 -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 lupus@ximian.com.

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

--- shadow/29597	Wed Aug 28 18:19:34 2002
+++ shadow/29597.tmp.20326	Wed Sep  4 10:33:55 2002
@@ -1,14 +1,14 @@
 Bug#: 29597
 Product: Mono/Runtime
 Version: unspecified
 OS: All
 OS Details: 
-Status: NEW   
-Resolution: 
-Severity: 
+Status: RESOLVED   
+Resolution: NOTABUG
+Severity: Unknown
 Priority: Wishlist
 Component: misc
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: mscorlib@mixmail.com               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
@@ -36,6 +36,27 @@
 
 
 How often does this happen? 
 always
 
 Additional Information:
+
+------- Additional Comments From lupus@ximian.com  2002-09-04 10:33 -------
+The following program works as expected.
+The reporter should provide a complete test case that shows the issue.
+.assembly 'a' {}
+.assembly extern 'mscorlib' {}
+.module 'a'
+.class T extends [mscorlib]System.Object  {
+        .method static int32 Main () {
+                .entrypoint
+                .locals init (int32)
+                ldloc.0
+                brtrue.s Label_Shouldnt_Jump
+                ldc.i4.0
+                ret
+                Label_Shouldnt_Jump:
+                ldc.i4.1
+                ret
+        }
+}
+