[Issue 5264] x86_64 changes for druntime 2

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Nov 24 01:36:27 PST 2010


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



--- Comment #2 from Brad Roberts <braddr at puremagic.com> 2010-11-24 01:35:00 PST ---
ok, debugging #3.  There's actually a couple of different assert locations,
though I suspect they're all related.  If the fix for this reduction doesn't
solve all of them, I'll re-reduce the next one.

=========
module hrm;

struct BlkInfo { size_t size; }

extern (C) BlkInfo gc_qalloc(size_t sz, uint ba);

void __setArrayAllocLength(ref BlkInfo info)
{
    if (info.size) {}
}

extern (C) void foo()
{
    BlkInfo info = gc_qalloc(0, 0);
    __setArrayAllocLength(info);
}
======

$ ../dmd-trunk/src/dmd -c -m64 hrm.d
Internal error: backend/cod1.c 2554

Building in 32 bit mode (without -m64) works just fine.

-- 
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