[Issue 8563] Exception segfault

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Feb 18 11:26:47 PST 2013


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



--- Comment #3 from Maxim Fomin <maxim at maxim-fomin.ru> 2013-02-18 11:26:46 PST ---
The reason of the issue seems to be in that struct temporary inside main() is
not initialized. If, line

foreach(s; dirEntries()) {} 

is replaced to directly accessing object

foreach(s; DirIterator("path")) {} 

dmd emits some code to clear the stack before assigning $rdi.

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