[Mono-bugs] [Bug 61801][Min] Changed - Incorrect exception ordering with stelem
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Thu, 29 Jul 2004 10:40:08 -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 lupus@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=61801
--- shadow/61801 2004-07-21 16:42:06.000000000 -0400
+++ shadow/61801.tmp.30998 2004-07-29 10:40:08.000000000 -0400
@@ -3,13 +3,13 @@
Version: unspecified
OS: unknown
OS Details:
Status: NEW
Resolution:
Severity: Unknown
-Priority: Wishlist
+Priority: Minor
Component: misc
AssignedTo: mono-bugs@ximian.com
ReportedBy: bmaurer@users.sf.net
QAContact: mono-bugs@ximian.com
TargetMilestone: ---
URL:
@@ -69,6 +69,12 @@
void Foo (int x) {}
}
In short, the problem seems to be that the way our code is emitted,
things do not happen in the order they should. For example, here, the
access to t.x should happen before the evaluation of foo / 0.
+
+------- Additional Comments From lupus@ximian.com 2004-07-29 10:40 -------
+Both the last two cases should give a NullRef exception.
+This is not easy to fix, given the use of trees. Once we go back to
+the original design of mini (required for the new reg allocator, too)
+we'll be able to keep better instruction ordering.