Summary: 64bit struct alignment inconsistent with C ABI
           Product: D
           Version: D1 & D2
          Platform: x86_64
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from Iain Buclaw <> 2011-01-09 11:03:22 PST ---
This was caused by bug2821. On 64bit, doubles are 8-byte aligned, not 4, so

struct { long, short }

Should have a sizeof = 16, not 12.

Btw, would be nice if you offered a -malign-double type flag to say "Yes, I
want 8 byte aligned doubles on 32bit Linux" :)


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

Reply via email to