[Mono-bugs] [Bug 77893][Nor] Changed - SSA PRE corrupts memory on Array.Sort

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Mar 30 09:28:15 EST 2006


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 massi at ximian.com.

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

--- shadow/77893	2006-03-25 16:57:15.000000000 -0500
+++ shadow/77893.tmp.21398	2006-03-30 09:28:15.000000000 -0500
@@ -98,6 +98,20 @@
 Vanilla mono-1.1.13.4 built from sources.
 Arch: i386
 OS: Red Hat EL 4
 
 ------- Additional Comments From lupus at ximian.com  2006-03-24 12:29 -------
 Confirmed this fails on the 1.1.13 branch and works on HEAD.
+
+------- Additional Comments From massi at ximian.com  2006-03-30 09:28 -------
+This problem is related to the local regalloc.
+Somehow, the sequence:
+
+ (outarg iconst[24])
+ (stind.i local[6] (ldelema (ldind.ref arg[0]) (ldind.i4 arg[2])))
+ (outarg (ldobj (ldind.i local[6])))
+ (outarg (ldaddr local[4]))
+
+where the stind has been added by SSAPRE, produces correct code
+on head but wrong code on the 1.1.13 branch.
+
+I'm going to investigate more.


More information about the mono-bugs mailing list