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 [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=80498 --- shadow/80498 2007-01-11 10:17:11.000000000 -0500 +++ shadow/80498.tmp.26208 2007-01-11 10:17:11.000000000 -0500 @@ -0,0 +1,44 @@ +Bug#: 80498 +Product: Mono: Runtime +Version: 1.2 +OS: +OS Details: +Status: NEW +Resolution: +Severity: +Priority: Wishlist +Component: JIT +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: alignment of address returned by localloc + +This is more a question than a problem. + +Description of Problem: +localloc returns an address aligned to 4. I was wondering if you would +consider 8. + +Steps to reproduce the problem: +1. Unpack all the attached files in a directory +2. Run foo with mono + +Actual Results: 1 +Expected Results: 0 + +How often does this happen? +sometimes + +Additional Information: +This is compiled from C. The code originally comes from the GCC testsuite. +The rationale is that I would expect malloc and alloca to have the same +behavior from the user's point of view. ECMA-335 (Partition 3, 3.47 +suggests to use localloc to implement the C alloca statement). +If I allocate storage for a double or a longlong, it will not be naturally +aligned. +Note that ECMA-335 (Partition 1, 12.6.2) does not require 8-byte alignment, +only suggests it. +Just wondering... _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
