http://d.puremagic.com/issues/show_bug.cgi?id=5238
--- Comment #4 from simon <[email protected]> 2010-11-19 06:21:24 PST --- (In reply to comment #1) > With this patch applied on my system, I still fail to pass > runnable/interpret.d > with -O, but now a few lines later at 2110: > > 2106 int goodfoo3() > 2107 { > 2108 S[4] w = void; // uninitialized array of structs > 2109 w[$-2].x = 217; // initialize one member > 2110 return w[2].x; > 2111 } > 2112 static assert(goodfoo3()==217); > > Simon, did you find this due to a failure with no changes to interpret.d or > with -O added to the set of compilation flags to test? Neither. I've build DMD with Visual studio; the vc compiler does a pretty good job of detected these sorts of bugs in debug builds. I'll run the rest of the tests when I get home, see if there are any other gotchas lurking. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
