[Bug tdep/25096] amd64_push_arguments places values in wrong register

vries at gcc dot gnu.org sourceware-bugzilla@sourceware.org
Thu Oct 10 21:07:00 GMT 2019


https://sourceware.org/bugzilla/show_bug.cgi?id=25096

--- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> ---
The discrepancy is that the code generated by gcc passes the struct in
registers %rdi and %xmm0, but amd64_push_arguments classifies the struct as:
...
(gdb) p theclass
$57 = {AMD64_INTEGER, AMD64_INTEGER}
...
and therefore passes it in %rdi and %rsi.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Gdb-prs mailing list