This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: Fix handling of return values handled in PARALLELs
- From: Richard Henderson <rth at redhat dot com>
- To: John David Anglin <dave at hiauly1 dot hia dot nrc dot ca>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 26 Nov 2002 17:43:47 -0800
- Subject: Re: PATCH: Fix handling of return values handled in PARALLELs
- References: <200211262341.gAQNfEZd024662@hiauly1.hia.nrc.ca>
On Tue, Nov 26, 2002 at 06:41:14PM -0500, John David Anglin wrote:
> * expr.c (gen_group_rtx, emit_group_move): New functions.
> * expr.h (gen_group_rtx, emit_group_move): Prototype.
> * function.c (expand_function_start): Use gen_group_rtx to create a
> PARALLEL rtx to hold the return value when the real return rtx is a
> PARALLEL.
> (expand_function_end): Use emit_group_move to move the return value
> from a PARALLEL to the real return registers.
> * rtl.h (REG_FUNCTION_VALUE_P): Allow function values to be returned
> in PARALLELs.
Ok.
r~