[Mono-bugs] [Bug 40839][Cri] Changed - MCS emits invalid IL code

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Mon, 7 Apr 2003 00:55:48 -0400 (EDT)


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 miguel@ximian.com.

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

--- shadow/40839	Sun Apr  6 21:26:48 2003
+++ shadow/40839.tmp.30084	Mon Apr  7 00:55:48 2003
@@ -2,13 +2,13 @@
 Product: Mono/MCS
 Version: unspecified
 OS: All
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Critical
 Component: Misc
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: bmaurer@users.sf.net               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
@@ -34,6 +34,25 @@
 Always
 
 ------- Additional Comments From bmaurer@users.sf.net  2003-04-06 21:26 -------
 Created an attachment (id=3944)
 A test case
 
+
+------- Additional Comments From miguel@ximian.com  2003-04-07 00:55 -------
+A smaller test case:
+
+namespace TestCase {
+	public class Test {
+		static void Main(string[] args) {
+			
+		}
+
+		private static unsafe uint DoOp (uint *u, uint a)
+		{
+			return *(u++) -= a;
+		}
+
+	}
+}
+
+The code leaves a value on the stack, but the stack should be empty.