[Issue 9666] Invalid struct passing + redundant struct copy on struct assignment

2022-12-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=9666 Iain Buclaw changed: What|Removed |Added Priority|P2 |P4 --

[Issue 9666] Invalid struct passing + redundant struct copy on struct assignment

2020-08-09 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=9666 Walter Bright changed: What|Removed |Added Keywords|wrong-code | CC|

[Issue 9666] Invalid struct passing + redundant struct copy on struct assignment

2015-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=9666 Andrei Alexandrescu changed: What|Removed |Added Version|unspecified |D2 --

[Issue 9666] Invalid struct passing + redundant struct copy on struct assignment

2013-03-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9666 --- Comment #1 from Kenji Hara 2013-03-08 05:00:03 PST --- (In reply to comment #0) > dmd generates two copies, first - when passing argument "d" to setDate(), and > second - when assigning parameter "d" to x. The latter is redundant. > > #dmd