http://d.puremagic.com/issues/show_bug.cgi?id=6306
Don <clugd...@yahoo.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |wrong-code CC| |clugd...@yahoo.com.au --- Comment #1 from Don <clugd...@yahoo.com.au> 2011-07-27 00:25:42 PDT --- Reduced test case shows this is very nasty bug in failing to restore local variable values after an indirect recursive call. ------------- void recurse6306() { bug6306(false); } bool bug6306(bool b) { int x = 0; if (b) recurse6306(); assert(x == 0); // fails!!!!! x = 1; return true; } static assert( bug6306(true) ); -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------