[Issue 10215] Regression (2.063 release): const causes wrong float calculation
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Jun 1 08:10:53 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10215
Kenji Hara <k.hara.pg at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |wrong-code
--- Comment #9 from Kenji Hara <k.hara.pg at gmail.com> 2013-06-01 08:10:52 PDT ---
(In reply to comment #8)
> Does anyone knows in the meanwhile, which commit solved the problem?
> The workaround is to use enum but it would be nice if const would work in dmd
> 2.063...
This bug reproduces just only with dmd2.063 "release".
Current 2.063 branch in github
http://github.com/D-Programming-Language/dmd/branches/2.063
and released zip does not contain exactly same source code.
I found a difference between them, in expression.c DotVarExp::semantic.
https://github.com/D-Programming-Language/dmd/blob/2.063/src/expression.c#L7501
The line "#if PULL93" and "#endif" does not exist in released src/expression.c,
and the bug reproduces 2.063 branch + removing the #if and #endif lines.
Therefore, I can say that the root cause was exists in the mis-operation for
building and packaging release files.
--
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