Summary: Global variables are not aligned
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Severity: regression
          Priority: P2
         Component: DMD

--- Comment #0 from Nick Voronin <> 2010-12-17 18:36:37 PST ---
"Version D 2.007: Data items in static data segment >= 16 bytes in size are now
paragraph aligned."

Yet this test shows that neither double[4] nor creal are aligned.

import core.stdc.stdio: printf;

int a;
double[4] d;
creal cr;

void main() {
    printf("%X:%u %X:%u %X:%u\n", &a, (cast(size_t)&a) % 8, &d,
(cast(size_t)&d) % 8, &cr, (cast(size_t)&cr) % 8);

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to