This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug testsuite/32843] [4.3 Regression] : libffi.call/return_sc.c
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Jul 2007 11:47:10 -0000
- Subject: [Bug testsuite/32843] [4.3 Regression] : libffi.call/return_sc.c
- References: <bug-32843-682@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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