[Issue 829] struct operator overload returns a wrong value (suspect NRVO bug)

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jan 11 00:55:47 PST 2007


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


wbaxter at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|struct operator opMul()     |struct operator overload
                   |return a wrong value        |returns a wrong value
                   |                            |(suspect NRVO bug)




------- Comment #1 from wbaxter at gmail.com  2007-01-11 02:55 -------
This appears to be a result of the NRVO added in DMD 0.178.  The test program
works fine with DMD 0.177, but fails with 0.178.


-- 



More information about the Digitalmars-d-bugs mailing list