This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] 3rd try: Fix PR22347
On Wed, Jul 13, 2005 at 01:46:59PM +0200, Richard Guenther wrote:
> * 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.
Ok.
r~