[Mono-bugs] [Bug 78031][Nor] Changed - [GMCS] gmcs generates invalid IL for iterators

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Apr 7 21:39:18 EDT 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 miguel at ximian.com.

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

--- shadow/78031	2006-04-07 21:32:38.000000000 -0400
+++ shadow/78031.tmp.2824	2006-04-07 21:39:18.000000000 -0400
@@ -147,6 +147,16 @@
                               IL_0071)
       IL_00bf:  ldc.0
       IL_00c0:  ret     } // end of method '<GetEnumerator>__0'::MoveNext
 
 And PEVerify continued to complain about it, somehow it gets confused
 by the back switch.   
+
+------- Additional Comments From miguel at ximian.com  2006-04-07 21:39 -------
+My bat-feeling is that the IL verifier in MS does not like the jump at
+the start to the switch, and then the switch jumping back.  That
+sounds lame to me.
+
+Am not sure if we can change the compiler easily to change the order
+in which switch is generated, I will look into that.
+
+Sadly, the IronPython problem is probably somewhere else.


More information about the mono-bugs mailing list