[Issue 19672] Function uses the stack to read a static array parameter but it is passed in the registers

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Feb 13 11:18:42 UTC 2019


https://issues.dlang.org/show_bug.cgi?id=19672

Simen Kjaeraas <simen.kjaras at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |simen.kjaras at gmail.com

--- Comment #3 from Simen Kjaeraas <simen.kjaras at gmail.com> ---
Additional information:

Happens when S.sizeof is between 9 and 16, and only for long and ulong fields.
Order doesn't matter. 
Tested with other 8-byte types like double, int[2], short[4], ubyte[8], and it
works fine. The type of the padding field also doesn't seem to matter.

--


More information about the Digitalmars-d-bugs mailing list