[Mono-bugs] [Bug 28107][Nor] New - mcs miscompiles FileIOPermission::FromXml

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
23 Jul 2002 11:03:52 -0000


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 vargaz2@freemail.hu.

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

--- shadow/28107	Tue Jul 23 07:03:52 2002
+++ shadow/28107.tmp.10873	Tue Jul 23 07:03:52 2002
@@ -0,0 +1,35 @@
+Bug#: 28107
+Product: Mono/MCS
+Version: unspecified
+OS: Debian Woody
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: vargaz2@freemail.hu               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: mcs miscompiles FileIOPermission::FromXml
+
+The current CVS mcs miscompiles the above method when compiling corlib on
+LINUX.
+This line:
+     files = fileList.Split(';');
+
+Generates the following code:
+	IL_00e5: ldloc.0 
+	IL_00e6: ldc.i4.1 
+	IL_00e7: newarr System.Char
+	IL_00ec: stloc.2 
+	IL_00ed: ldloc.2 
+	IL_00ee: ldc.i4.0 
+	IL_00ef: ldc.i4.s 0x3b
+	IL_00f1: stobj System.Char
+
+Here, the last line should be stelem.i2. Interestingly, this only happens
+when compiling with --nostdlib, so it may be related to corlib self hosting.