-
re PR middle-end/22347 (Return value register not correctly computed for indirect function call) · cb1119b7
2005-07-14 Richard Guenther <rguenther@suse.de> PR middle-end/22347 * config/i386/i386-protos.h (ix86_function_value): Change prototype to match new target hook. * config/i386/i386.c (ix86_value_regno): Change prototype to take extra type argument. (TARGET_FUNCTION_VALUE): Define. (ix86_function_ok_for_sibcall): Pass extra argument to ix86_value_regno, check return slot rtx for exact match. (ix86_function_value): Take extra parameter. Dispatch to ix86_value_regno with fndecl/fntype as provided. (ix86_value_regno): Handle extra type argument. * config/i386/i386.h (FUNCTION_VALUE): No longer define. * testsuite/gcc.target/i386/sseregparm-3.c: New testcase. * testsuite/gcc.target/i386/sseregparm-4.c: New testcase. * testsuite/gcc.target/i386/sseregparm-5.c: New testcase. * testsuite/gcc.target/i386/sseregparm-6.c: New testcase. * testsuite/gcc.target/i386/sseregparm-7.c: New testcase. From-SVN: r102014
Richard Guenther committed
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
alpha | Loading commit data... | |
cris/torture | Loading commit data... | |
frv | Loading commit data... | |
i386 | Loading commit data... | |
ia64 | Loading commit data... | |
mips | Loading commit data... | |
sparc | Loading commit data... | |
x86_64/abi | Loading commit data... | |
xstormy16 | Loading commit data... |