[Issue 5976] "variable used before set" with foreach with ref + scope(failure) + structure method + -O -inline

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu May 12 20:23:55 PDT 2011


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



--- Comment #4 from Vladimir <thecybershadow at gmail.com> 2011-05-12 20:19:53 PDT ---
(In reply to comment #1)
> This only happens with -O -inline (-O alone is not sufficient).

Yep, my bad.

(In reply to comment #3)
> https://github.com/D-Programming-Language/dmd/commit/95229fec741951be4d4ad6d5c4a16060c5cde668
> 
> https://github.com/D-Programming-Language/dmd/commit/670360ac6616687566854060ad3178cf8c783c38
> 
> https://github.com/D-Programming-Language/dmd/commit/04428f78c691991dbbb1f9e17cb45b5f198f8045

Thanks! That fixed my build.

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