[Issue 11406] ld.gold links incorrect dmd binaries

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Nov 14 09:30:52 PST 2013


https://d.puremagic.com/issues/show_bug.cgi?id=11406



--- Comment #4 from Martin Nowak <code at dawg.eu> 2013-11-14 09:30:49 PST ---
cat > bug.d << CODE
enum Op { a, b, c, d, }

void bug(Op op)
{
    final switch (op)
    {
    case Op.a:
    case Op.b:
    case Op.c:
    case Op.d:
    }
}

void main()
{
    bug(Op.a);
}
CODE

There are an extra 8-bytes at the start of the switch table. Maybe an alignment
issue?

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


More information about the Digitalmars-d-bugs mailing list