https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64384
Kai Tietz <ktietz at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ktietz at gcc dot gnu.org --- Comment #2 from Kai Tietz <ktietz at gcc dot gnu.org> --- The attribute 'callee_pop_aggregate_return' should fix this issue for you. This is a general difference between sysv and ms ABIs. It has in general nothing to do with the stdcall-attribute.