This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Fix handling of return values handled in PARALLELs


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~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]