[Issue 3863] Various errors and ICEs for struct constructors with ellipses

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Apr 10 13:55:46 PDT 2010


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


Don <clugdbug at yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |clugdbug at yahoo.com.au


--- Comment #2 from Don <clugdbug at yahoo.com.au> 2010-04-10 13:55:43 PDT ---
The first step is to turn the segfaults into an ICE:
todt.c, line 59.

dt_t *VoidInitializer::toDt()
{   /* Void initializers are set to 0, just because we need something
     * to set them to in the static data segment.
     */
    dt_t *dt = NULL;
+    assert(type);
    dtnzeros(&dt, type->size());
    return dt;
}

I haven't been able to reproduce the other ICE (todt.c 688) on either 2.043,
2.040, or 2.041.

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