[Bug testsuite/32843] [4.3 Regression] : libffi.call/return_sc.c

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Jul 24 11:47:00 GMT 2007



------- Comment #5 from rguenth at gcc dot gnu dot org  2007-07-24 11:47 -------
The 32bit psABI specifies Integral Arguments as 'Functions pass all
integer-valued
arguments as words, expanding or padding signed or unsigned bytes and
halfwords as needed'. For return values the best I can find is 'A function that
returns an integral or pointer value places its result in register %eax.'
Both are not exactly clear whether sign- or zero-extension is required.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32843



More information about the Gcc-bugs mailing list