[Issue 4231] Solitary opUnary Postincrement and Postdecrement user defined operators are broken.
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Jun 2 10:53:55 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4231
--- Comment #7 from Andrei Alexandrescu <andrei at metalanguage.com> 2010-06-02 10:53:53 PDT ---
(In reply to comment #6)
> I was thinking about the code post-inlining. MOST of the time the operators
> will be inlined and at that point it should be dead simple for it to eliminate
> dead stores and thus the temporaries would just go away, no special knowledge
> or techniques required. Without inlining, yeah, it can't make assumptions what
> can occur inside the function calls.
Inlining is irrelevant. If a this(this) has a writeln() in it, the optimizer
must honor it no questions asked. That's why elision must come from a higher
level.
--
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