[Issue 10842] Some integer casts wrongly remove side-effect of the operand.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Sep 28 23:12:49 PDT 2013


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


Kenji Hara <k.hara.pg at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull
            Summary|auto return function not    |Some integer casts wrongly
                   |executed depending on how   |remove side-effect of the
                   |it's called                 |operand.


--- Comment #4 from Kenji Hara <k.hara.pg at gmail.com> 2013-09-28 23:12:47 PDT ---
https://github.com/D-Programming-Language/dmd/pull/2597

The problem is in CastExp::toElem, it sometimes remove the side effect of the
cast operand.

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