------- Comment #2 from rguenth at gcc dot gnu dot org 2008-04-25 08:42 ------- Also the ABI specifies that function arguments in registers are sign/zero extended according to their sign to the full width of the registers, maybe what calles this function is not adhering to this?
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36040