[Mono-bugs] [Bug 69821][Nor] New - [win32] An error occurs in stackalloc at the time of execution.
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Mon, 22 Nov 2004 23:14:02 -0500 (EST)
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 mei@work.email.ne.jp.
http://bugzilla.ximian.com/show_bug.cgi?id=69821
--- shadow/69821 2004-11-22 23:14:02.000000000 -0500
+++ shadow/69821.tmp.28698 2004-11-22 23:14:02.000000000 -0500
@@ -0,0 +1,40 @@
+Bug#: 69821
+Product: Mono: Runtime
+Version: unspecified
+OS:
+OS Details: Windows XP SP2
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: mei@work.email.ne.jp
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: [win32] An error occurs in stackalloc at the time of execution.
+
+Use mono-1.1.2-gtksharp-1.9-win32-0.3.exe.
+
+An error occurs in stackalloc at the time of execution.
+
+Repro:
+unsafe public class Program {
+ public static void Main() {
+ byte* p = stackalloc byte[1];
+ }
+}
+
+Expected result:
+> foo.exe
+
+Normal end.
+
+Actual result:
+** (foo.exe): WARNING **: wrong maximal instruction length of instruction
+localloc (expected 64, got 68)
+
+and messagebox showed ** ERROR **: file mini-x86.c line 3347
+(mono_arch_output_basic_block): should not be reached.