function.c (assign_parm_setup_block): Look inside original entry_parm when inspecting PARALLEL.

* function.c (assign_parm_setup_block): Look inside original
	entry_parm when inspecting PARALLEL.

From-SVN: r93602
This commit is contained in:
Aldy Hernandez 2005-01-13 17:06:44 +00:00 committed by Aldy Hernandez
parent 5d58d2f83e
commit 172847595a
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-01-13 Aldy Hernandez <aldyh@redhat.com>
* function.c (assign_parm_setup_block): Look inside original
entry_parm when inspecting PARALLEL.
2005-01-13 Ralf Corsepius <ralf.corsepius@rtems.org>
Joel Sherrill <joel@oarcorp.com>

View File

@ -2553,6 +2553,7 @@ assign_parm_setup_block (struct assign_parm_data_all *all,
rtx stack_parm = data->stack_parm;
HOST_WIDE_INT size;
HOST_WIDE_INT size_stored;
rtx orig_entry_parm = entry_parm;
if (GET_CODE (entry_parm) == PARALLEL)
entry_parm = emit_group_move_into_temps (entry_parm);
@ -2562,7 +2563,7 @@ assign_parm_setup_block (struct assign_parm_data_all *all,
if (GET_CODE (entry_parm) == PARALLEL
&& data->nominal_mode != BLKmode)
{
rtx elt0 = XEXP (XVECEXP (entry_parm, 0, 0), 0);
rtx elt0 = XEXP (XVECEXP (orig_entry_parm, 0, 0), 0);
if ((XVECLEN (entry_parm, 0) > 1
|| hard_regno_nregs[REGNO (elt0)][GET_MODE (elt0)] > 1)