[Issue 2278] Guarantee alignment of stack-allocated variables on x86

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Aug 11 08:29:08 PDT 2008


http://d.puremagic.com/issues/show_bug.cgi?id=2278





------- Comment #1 from andrei at metalanguage.com  2008-08-11 10:29 -------
This looks like a broad change for a particular case. The particular case is
short numeric arrays of constant size (because those get stack-allocated). So
why not have the compiler align only those at 8-byte boundaries and leave
everything else alone?

Copy semantics for constant-size arrays will certainly help too.


-- 



More information about the Digitalmars-d-bugs mailing list