[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 07:56:53 UTC 2019


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

--- Comment #1 from Walter Bright <bugzilla at digitalmars.com> ---
Note that if S is used as the parameter type, rather than S[1], the test
passes. The parameters should be passed in registers RDI and RSI for both
cases, i.e. S and S[1] should behave the same.

--


More information about the Digitalmars-d-bugs mailing list