[Bug 307] internal compiler error: Segmentation fault

gdc-bugzilla at gdcproject.org gdc-bugzilla at gdcproject.org
Tue Sep 4 22:43:52 UTC 2018


https://bugzilla.gdcproject.org/show_bug.cgi?id=307

Iain Buclaw <ibuclaw at gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED

--- Comment #2 from Iain Buclaw <ibuclaw at gdcproject.org> ---
Reduced and pasted here (gists may have a habit of disappearing).

---
void crash()
{
    applyConfiguration(42);
}

void applyConfiguration(Things...)(Things things)
{
thingloop:
    foreach (i; things)
    {
        switch (i) 
        {   
            continue thingloop;

            default:
        }   
    }   
}
---

Problem is triggered by unrolled loop statements.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the D.gnu mailing list