[Issue 11740] [64-bit] Struct with constructor incorrectly passed on stack

2013-12-15 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=11740 Iain Buclaw changed: What|Removed |Added CC||ibuc...@ubuntu.com --- Comment #1 from

[Issue 11740] [64-bit] Struct with constructor incorrectly passed on stack

2013-12-15 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=11740 --- Comment #2 from Iain Buclaw 2013-12-15 14:14:12 PST --- (In reply to comment #1) > This is working correctly as designed. Structs with constructors are > considered > non-POD, so they cannot be bit-copied in and out of registers. Maybe

[Issue 11740] [64-bit] Struct with constructor incorrectly passed on stack

2013-12-15 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=11740 --- Comment #3 from yebblies 2013-12-16 15:52:29 EST --- (In reply to comment #1) > Errm... > > This is working correctly as designed. Structs with constructors are > considered > non-POD, so they cannot be bit-copied in and out of register

[Issue 11740] [64-bit] Struct with constructor incorrectly passed on stack

2013-12-16 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=11740 --- Comment #4 from Iain Buclaw 2013-12-16 01:38:55 PST --- Exhibit A: Constructors == non-POD in the frontend. This seems to be because of a DMD-specific bug: * Note that D struct constructors can mean POD, since there is always default *

[Issue 11740] [64-bit] Struct with constructor incorrectly passed on stack to extern(C++) function

2013-12-16 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=11740 yebblies changed: What|Removed |Added Summary|[64-bit] Struct with|[64-bit] Struct with |co

[Issue 11740] [64-bit] Struct with constructor incorrectly passed on stack to extern(C++) function

2013-12-16 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=11740 --- Comment #6 from Iain Buclaw 2013-12-16 06:01:42 PST --- https://github.com/D-Programming-Language/dmd/pull/2975 -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because:

[Issue 11740] [64-bit] Struct with constructor incorrectly passed on stack to extern(C++) function

2013-12-21 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=11740 --- Comment #7 from Iain Buclaw 2013-12-21 08:11:07 PST --- (In reply to comment #5) > extern(C++) functions must do what the corresponding c++ compiler does. The definition of POD: A PODS type in C++ is defined as either a scalar type or a

[Issue 11740] [64-bit] Struct with constructor incorrectly passed on stack to extern(C++) function

2013-12-21 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=11740 --- Comment #8 from Iain Buclaw 2013-12-21 08:17:26 PST --- (In reply to comment #7) > (In reply to comment #5) > > extern(C++) functions must do what the corresponding c++ compiler does. > > The definition of POD: > Also in written here:

[Issue 11740] [64-bit] Struct with constructor incorrectly passed on stack to extern(C++) function

2013-12-21 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=11740 --- Comment #9 from yebblies 2013-12-22 03:23:12 EST --- (In reply to comment #7) > (In reply to comment #5) > > extern(C++) functions must do what the corresponding c++ compiler does. > > The definition of POD: > > A PODS type in C++ is de

[Issue 11740] [64-bit] Struct with constructor incorrectly passed on stack to extern(C++) function

2014-07-23 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11740 yebblies changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---