[Mono-bugs] [Bug 56452][Wis] New - mcs produces invalid IL code

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sun, 4 Apr 2004 09:27:06 -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 andrew@sobala.net.

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

--- shadow/56452	2004-04-04 09:27:06.000000000 -0400
+++ shadow/56452.tmp.27156	2004-04-04 09:27:06.000000000 -0400
@@ -0,0 +1,42 @@
+Bug#: 56452
+Product: Mono: Compilers
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: C#
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: andrew@sobala.net               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: mcs produces invalid IL code
+
+Test case is at http://www.gnome.org/~aes/testcsharp-1.0.0.tar.gz
+
+Configure, make, and mono test.exe to run it.
+
+My results:
+
+[andrew@Gondor csharptest]$ mono test.exe
+No items: 1 (should be 1)
+Trying to crash the universe...
+ 
+** ERROR **: Invalid IL code at IL0000 in Test:does_not_work (intptr):
+IL_0000: stloc.s   48
+ 
+ 
+aborting...
+Aborted
+
+Expected results:
+
+Not terrifically much, but not invalid IL code. This might be invalid C#
+since I've only been using it for a day, but I'd expect a compile time
+error or crash rather than production of invalid IL code.
+
+This happens with mono 0.31, and CVS glib-sharp from Mar 31.