[Issue 8283] ICE(cod1.c): returning struct with constructor as member of another struct

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jul 16 02:01:01 PDT 2012


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


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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice
                 CC|                            |clugdbug at yahoo.com.au
            Summary|backend/cod1.c 1677,        |ICE(cod1.c): returning
                   |related to structs with     |struct with constructor as
                   |constructors (?)            |member of another struct


--- Comment #2 from Don <clugdbug at yahoo.com.au> 2012-07-16 02:00:26 PDT ---
Reduced test case. Bug8283 can be either a struct or a union.
---------------------------
struct Ctor8283 {
    this(int n) {}
}

struct Bug8283 {
    Ctor8283 value;
}

Bug8283 get8283() {
    Bug8283 buf;
    return buf;
}

void outer8283() {
    Bug8283 x = get8283();
}

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