[Mono-bugs] [Bug 57895][Maj] Changed - Invalid IL code for simple statement

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 5 May 2004 05:43:21 -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 reg@nyda.info.

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

--- shadow/57895	2004-04-30 21:10:48.000000000 -0400
+++ shadow/57895.tmp.16789	2004-05-05 05:43:21.000000000 -0400
@@ -123,6 +123,55 @@
 Abgebrochen
 ds, test/ $
 
 --
 
 I can also attach the compiled binary if it is of any help. ?
+
+------- Additional Comments From reg@nyda.info  2004-05-05 05:43 -------
+Tested again with Mono 0.91 and the issue still exists.
+I've also discovered that the compiled executable can be run with
+"mint" flawlessly.
+And finally, I will attach the executable in case it is any help. And
+of couse the compile log (with a cat of the testcase) so you can tell
+me what I might have done wrong (though it seems pretty
+straight-forward to me...)
+
+ds, test/ $ ll
+insgesamt 4,0K
+-rw-------    1 users         163  5. Mai 11:09 Main.cs
+ds, test/ $ cat Main.cs
+using System;
+class MainClass {
+        public static void Main(string[] args) {
+        float fMag= 0;
+        if ((fMag & 0x80000000) == 0)
+                Console.WriteLine("Seems fixed.");
+        }
+}
+ds, test/ $ mcs --version
+Mono C# compiler version 0.91.0.0
+ds, test/ $ mcs Main.cs
+Compilation succeeded
+ds, test/ $ mono --version
+Mono JIT compiler version 0.91, (C) 2002-2004 Novell, Inc and
+Contributors. www.go-mono.com
+        TLS:           NPTL
+        GC:            Included Boehm (with typed GC)
+        SIGSEGV      : altstack
+        Globalization: ICU
+ds, test/ $ mono Main.exe
+                                                                     
+                                                  
+** ERROR **: Invalid IL code at IL000e in MainClass:Main (string[]):
+IL_000e: and
+                                                                     
+                                                  
+                                                                     
+                                                  
+aborting...
+Abgebrochen
+ds, test/ $ mint Main.exe
+Seems fixed.
+ds, test/ $ mint --version
+mint 0.91, the Mono ECMA CLI interpreter, (C) 2001, 2002 Ximian, Inc.
+[more mint output because version is not an option]