[Issue 14227] Incorrect passed a delegate as argument with null value.

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Feb 26 12:30:12 PST 2015


https://issues.dlang.org/show_bug.cgi?id=14227

safety0ff.bugz <safety0ff.bugz at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |wrong-code
                 CC|                            |safety0ff.bugz at gmail.com

--- Comment #2 from safety0ff.bugz <safety0ff.bugz at gmail.com> ---
This seems to be a heisenbug in the backend.
It disappears when optimizations are enabled.
Looking at the assembly, the compiler doesn't clear RDX for the first call to
test.Class.set, but does for the second call, resulting in garbage in RDX for
the first call.

Still occurs with recent git version.

--


More information about the Digitalmars-d-bugs mailing list