Bug 316519 (MONO69821) - [win32] An error occurs in stackalloc at the time of execution.
Summary: [win32] An error occurs in stackalloc at the time of execution.
Status: RESOLVED FIXED
Alias: MONO69821
Product: Mono: Runtime
Classification: Mono
Component: misc (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Mono Bugs
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-23 06:14 UTC by mei
Modified: 2007-09-15 21:24 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Wiest 2007-09-15 18:59:34 UTC


---- Reported by mei@work.email.ne.jp 2004-11-22 23:14:02 MST ----

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.



---- Additional Comments From atsushi@ximian.com 2004-11-23 00:40:26 MST ----

I could reproduce with 1.1.2, but it looks already fixed in CVS.


Unknown bug field "cf_op_sys_details" encountered while moving bug
   <cf_op_sys_details>Windows XP SP2</cf_op_sys_details>
Unknown operating system unknown. Setting to default OS "Other".