[Issue 2682] const struct initialized with struct literal recreates value on stack when used

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Mar 29 02:50:30 PDT 2009


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





------- Comment #3 from kamm-removethis at incasoftware.de  2009-03-29 04:50 -------
Removing that optimization lead to constant folding issues. Instead we have now
demoted struct literals to rvalues in LDC. It does not create any regressions
in our testsuite - please let us know if you expect this to be trouble.


-- 



More information about the Digitalmars-d-bugs mailing list