[Bug 307] internal compiler error: Segmentation fault
gdc-bugzilla at gdcproject.org
gdc-bugzilla at gdcproject.org
Tue Sep 4 23:00:40 UTC 2018
https://bugzilla.gdcproject.org/show_bug.cgi?id=307
--- Comment #3 from Iain Buclaw <ibuclaw at gdcproject.org> ---
More complete test that covers three combinations of problems:
1. Continue label in unrolled loop
2. Break label in unrolled loop
3. Loop body unrolled more than once.
I have something for 1 and 2, but not 3 currently.
---
void test307()
{
apply307(1, 2, 3);
}
void apply307(T...)(T ts)
{
tloop:
foreach (t; ts)
{
switch (t)
{
continue tloop;
default:
}
}
tloop2:
foreach (t; ts)
{
switch (t)
{
break tloop;
default:
}
}
}
--
You are receiving this mail because:
You are watching all bug changes.
More information about the D.gnu
mailing list