[Issue 11540] [ICE] Unknown segfault during CTFE

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Nov 18 08:25:35 PST 2013


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



--- Comment #2 from Dmitry Olshansky <dmitry.olsh at gmail.com> 2013-11-18 08:25:33 PST ---
Reduced by hand to this 20-liner:

int fun()
{
    CodepointSet[] charsets = new CodepointSet[1];  
    uint pc;
    switch(pc)
    {
    case 0:
        auto set = charsets[0];
    goto L_OutOfLoop;
    L_OutOfLoop:
        ;
    default:
    }
    return 0;
}

struct CodepointSet
{
    ~this(){}
}

enum x = fun();

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