[Bug 179] invalid code generation with -O2 for method returning ref

via D.gnu d.gnu at puremagic.com
Fri Apr 17 10:19:55 PDT 2015


http://bugzilla.gdcproject.org/show_bug.cgi?id=179

Ketmar Dark <ketmar at ketmar.no-ip.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ketmar at ketmar.no-ip.org

--- Comment #1 from Ketmar Dark <ketmar at ketmar.no-ip.org> ---
p.s.

changing the line
  a.valueChanged.connect!"watch"(o);
to
  a.valueChangedSg.connect!"watch"(o);
(i.e. bypassing method call) works as expected both with -O0 and -O2.

-- 
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/d.gnu/attachments/20150417/549585f2/attachment.html>


More information about the D.gnu mailing list