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

2015-04-18 Thread via D.gnu
http://bugzilla.gdcproject.org/show_bug.cgi?id=179 Iain Buclaw changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

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

2015-04-18 Thread via D.gnu
http://bugzilla.gdcproject.org/show_bug.cgi?id=179 --- Comment #7 from Iain Buclaw --- There seems to be a key thing happening here: --- struct SignalImpl { @disable this(this); // SignalImpl is now non-POD } --- Because of this, TypeFunction::toCtype sets TREE_ADDRESSABLE on functions ret

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

2015-04-18 Thread via D.gnu
http://bugzilla.gdcproject.org/show_bug.cgi?id=179 --- Comment #6 from Iain Buclaw --- Reduced: --- struct SignalImpl { @disable this(this); } struct RestrictedSignal { SignalImpl mImpl; void connect() { } } struct Signal { RestrictedSignal mRestricted; } class MyObject { S

[Bug 52] NRVO not implemented

2015-04-18 Thread via D.gnu
http://bugzilla.gdcproject.org/show_bug.cgi?id=52 --- Comment #14 from Iain Buclaw --- Also added testcase. https://github.com/D-Programming-GDC/GDC/commit/1a75aa6e2280272735237bf640931cdc26fe8350 -- You are receiving this mail because: You are watching all bug changes.

[Bug 52] NRVO not implemented

2015-04-18 Thread via D.gnu
http://bugzilla.gdcproject.org/show_bug.cgi?id=52 Iain Buclaw changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug 52] NRVO not implemented

2015-04-18 Thread via D.gnu
http://bugzilla.gdcproject.org/show_bug.cgi?id=52 --- Comment #12 from Ketmar Dark --- that's great! -- You are receiving this mail because: You are watching all bug changes.

[Bug 52] NRVO not implemented

2015-04-18 Thread via D.gnu
http://bugzilla.gdcproject.org/show_bug.cgi?id=52 --- Comment #11 from Iain Buclaw --- I've got a fix for this in the works. Setting CALL_EXPR_RETURN_SLOT_OPT on the call returning NRVO is all we needed in the end. -- You are receiving this mail because: You are watching all bug changes.

[Bug 52] NRVO not implemented

2015-04-18 Thread via D.gnu
http://bugzilla.gdcproject.org/show_bug.cgi?id=52 Iain Buclaw changed: What|Removed |Added Status|NEW |ASSIGNED -- You are receiving this mail be

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

2015-04-18 Thread via D.gnu
http://bugzilla.gdcproject.org/show_bug.cgi?id=179 Iain Buclaw changed: What|Removed |Added Status|RESOLVED|NEW Resolution|DUPLICATE

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

2015-04-18 Thread via D.gnu
http://bugzilla.gdcproject.org/show_bug.cgi?id=179 Iain Buclaw changed: What|Removed |Added Status|NEW |ASSIGNED -- You are receiving this mail b