[Mono-bugs] [Bug 29000][Min] Changed - Incorrect right-evaluation in assignament

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
16 Aug 2002 09:29:02 -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 dietmar@ximian.com.

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

--- shadow/29000	Fri Aug 16 04:55:02 2002
+++ shadow/29000.tmp.31932	Fri Aug 16 05:29:02 2002
@@ -103,6 +103,24 @@
 	IL_0030: xor      0000
 	IL_0031: stloc.0                          V0 = 0000
 
 mcs generates the same wrong code as csc, but it add some additional 
 load/stores.
  
+
+------- Additional Comments From dietmar@ximian.com  2002-08-16 05:29 -------
+Here is a modified code sequence. We need to load the modified value
+of "a" instead of using the initial value:
+
+	IL_0023: ldloc.1  0110
+	IL_0024: ldloc.0  0110 1100
+	IL_0025: ldloc.1  0110 1100 0110 
+	IL_0026: xor      0110 1010
+	IL_0027: dup      0110 1010 1010
+	IL_0028: stloc.0  0110 1010          V0 = 1010
+	IL_0029: xor      1100
+	IL_002b: stloc.1                     V1 = 1100
+                 ldloc.0  1010
+                 ldloc.1  1010 1100
+	IL_002c: xor      0110
+	IL_002d: stloc.0                     V0 = 0110
+