[Mono-bugs] [Bug 41954][Nor] Changed - mcs uses ldind.ref instead of ldind.i

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Sun, 27 Apr 2003 12:06:12 -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.


--- shadow/41954	Sun Apr 27 07:20:50 2003
+++ shadow/41954.tmp.9106	Sun Apr 27 12:06:12 2003
@@ -85,6 +85,14 @@
 runtime allows it as well.
 The code produced my mcs is still wrong, though: it generates a
 ldind.ref instead of ldind.i to dereference the int* pointer.
 Since there is no reference type involved, ldind.ref should not be
 used (in a more complex program this could generate random failures
 with a moving GC).
+------- Additional Comments From miguel@ximian.com  2003-04-27 12:06 -------
+The problem is not with dereferencing the "int*", but when
+dereferencing the "int**".  Should I make loads-of-pointers use
+`ldind.i' then?
+CSC does not seem to do that (peverify on the same program with csc
+triggers more errors than mcs does ;-)