[Mono-bugs] [Bug 41607][Cri] Changed - Mini can't compile corlib.dll

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Tue, 22 Apr 2003 12:01: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 dietmar@ximian.com.

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

--- shadow/41607	Tue Apr 22 11:54:57 2003
+++ shadow/41607.tmp.12288	Tue Apr 22 12:01:21 2003
@@ -10,13 +10,12 @@
 Component: misc
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: ramon_garcia_f@terra.es               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
 URL: 
-Cc: 
 Summary: Mini can't compile corlib.dll
 
 Mini is not able to compile (that is, ahead of time compile) corlib.dll
 
 Running mini /usr/local/lib/corlib.dll
 
@@ -63,6 +62,17 @@
 ------- Additional Comments From dietmar@ximian.com  2003-04-22 11:54 -------
 mini reports invalid IL code:
 
 mini -v -v -v -v --compile
 'Mono.Security.X509.X501:GetAttributeFromOID(string)'
 /usr/local/lib/corlib.dll
+
+------- Additional Comments From dietmar@ximian.com  2003-04-22 12:01 -------
+Looks like mcs or reflections is generating wrong branch targets.
+
+  IL_009b:  ldstr      "UID"
+  IL_00a0:  beq        IL_00aa
+/* this jump is wrong! */
+  IL_00a5:  br         IL_00ac
+  IL_00aa:  ldnull
+  IL_00ab:  ret
+} // end of method X501::GetAttributeFromOID