[Issue 5482] New: Crash with align(0)

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jan 25 03:01:16 PST 2011


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

           Summary: Crash with align(0)
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: bearophile_hugs at eml.cc


--- Comment #0 from bearophile_hugs at eml.cc 2011-01-25 02:59:10 PST ---
This crashes DMD 2.051:

align(0) struct Foo {
    char c;
    int i;
}
void main() {
    Foo f = Foo();
}


---------------

This causes an Access Violation with DMD 2.051:

align(0) struct Foo {
    int i, j;
}
void main() {
    Foo f = Foo();
}

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list