[Issue 5790] "Error: variable result used before set" when -release -inline -O
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Jan 12 01:14:05 PST 2012
http://d.puremagic.com/issues/show_bug.cgi?id=5790
Kenji Hara <k.hara.pg at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #10 from Kenji Hara <k.hara.pg at gmail.com> 2012-01-12 01:14:03 PST ---
(In reply to comment #7)
> Confirmed that the reduction in comment 2 still reproduces the problem. It
> reports y2 as used before set (with no line number).
>
> The two fixes to this part of the compiler aren't sufficient to catch this one.
Walter already committed a fix for this issue.
https://github.com/D-Programming-Language/dmd/commit/68b51f24ec25b20df19a5f53b0252d820d2c4d1d
https://github.com/D-Programming-Language/dmd/commit/c5d673247289279a54339dfbb6d27733ed3fd63b
And comment#2 code can compile with 2.058head.
--
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