Thread overview | ||||||
---|---|---|---|---|---|---|
|
March 08, 2006 [Bug 25] New: DMD segfault on foreach in template | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/bugzilla/show_bug.cgi?id=25 Summary: DMD segfault on foreach in template Product: D Version: unspecified Platform: PC OS/Version: Linux Status: NEW Severity: minor Priority: P3 Component: DMD AssignedTo: walter@digitalmars.com ReportedBy: oskar.linde@gmail.com This bug is present in 0.149. It was not available in the version list. template crash(T) { void crash(T t) { foreach(u;t) {} } } void main() { crash(null); } Causes DMD 0.149 linux to segfault. (It segfaults on the non-IFTI version too) -- |
March 08, 2006 Re: [Bug 25] New: DMD segfault on foreach in template | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail Attachments: | > This bug is present in 0.149. It was not available in the version list. > > template crash(T) { > void crash(T t) { > foreach(u;t) {} > } > } > > void main() { > crash(null); > } > > Causes DMD 0.149 linux to segfault. (It segfaults on the non-IFTI version too) Added to DStress as http://dstress.kuehne.cn/run/f/foreach_34_A.d http://dstress.kuehne.cn/run/f/foreach_34_B.d http://dstress.kuehne.cn/run/f/foreach_34_C.d http://dstress.kuehne.cn/run/f/foreach_34_D.d Thomas |
March 08, 2006 [Bug 25] DMD segfault on foreach in template | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/bugzilla/show_bug.cgi?id=25 braddr@puremagic.com changed: What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |0.149 -- |
March 21, 2006 [Bug 25] DMD segfault on foreach in template | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/bugzilla/show_bug.cgi?id=25 bugzilla@digitalmars.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #2 from bugzilla@digitalmars.com 2006-03-20 22:21 ------- Fixed 0.150 -- |
Copyright © 1999-2021 by the D Language Foundation