[Mono-bugs] [Bug 57895][Maj] Changed - Invalid IL code for simple statement
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Fri, 30 Apr 2004 21:10:48 -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 20:30:57.000000000 -0400
+++ shadow/57895.tmp.20170 2004-04-30 21:10:48.000000000 -0400
@@ -79,6 +79,50 @@
still, it's not allowed. With your second example csc reports:
error CS0019: Operator '&' cannot be applied to operands of
type 'float' and 'uint'
+
+------- Additional Comments From reg@nyda.info 2004-04-30 21:10 -------
+Some more details. If you use a newer version than this, I guess it's
+safe to assume the bug has been fixed. As mentioned in my original bug
+report, I'm using the latest released Mono.
+
+--
+
+ds, test/ $ mono --version
+Mono JIT compiler version 0.31, (C) 2002-2004 Novell, Inc and
+Contributors. www.go-mono.com
+ TLS: normal
+ GC: Included Boehm (with typed GC)
+ Globalization: ICU
+ds, test/ $ mcs --version
+Mono C# compiler version 0.31.0.0
+ds, test/ $ cat Main.cs
+using System;
+
+
+class MainClass {
+ public static void Main(string[] args) {
+ float fMag= 0;
+ if ((fMag & 0x80000000) == 0)
+ Console.WriteLine("No invalid IL for you?");
+ }
+}ds, test/ $ mcs Main.cs
+Compilation succeeded
+ds, test/ $ mono Main.exe
+
+
+** ERROR **: Invalid IL code at IL000e in MainClass:Main (string[]):
+IL_000e: and
+
+
+
+
+aborting...
+Abgebrochen
+ds, test/ $
+
+--
+
+I can also attach the compiled binary if it is of any help. ?