[Issue 2648] Unnecessary struct ABI inconsistency

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Apr 25 13:24:56 PDT 2009


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


dhasenan at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |spec




------- Comment #1 from dhasenan at gmail.com  2009-04-25 15:25 -------
The ABI as implemented in DMD with regards to returning structs appears to be
as the spec describes for Windows, as confirmed by mucking about with obj2asm.
(Note that, to create a 3-byte struct, you need to use align(1).)

I ascertained this using dmd2.029; other versions might have different
behavior.


-- 



More information about the Digitalmars-d-bugs mailing list