function.c (assign_parms): Correct mode of stack_parm if entry_parm underwent a mode conversion.
* function.c (assign_parms): Correct mode of stack_parm if entry_parm underwent a mode conversion. From-SVN: r16228
This commit is contained in:
parent
074c2cffc8
commit
de95730392
@ -1,3 +1,8 @@
|
|||||||
|
Tue Oct 28 23:55:27 1997 Doug Evans (devans@cygnus.com)
|
||||||
|
|
||||||
|
* function.c (assign_parms): Correct mode of stack_parm if
|
||||||
|
entry_parm underwent a mode conversion.
|
||||||
|
|
||||||
1997-10-28 Brendan Kehoe <brendan@lisa.cygnus.com>
|
1997-10-28 Brendan Kehoe <brendan@lisa.cygnus.com>
|
||||||
|
|
||||||
* global.c (global_alloc): Use xmalloc instead of alloca for
|
* global.c (global_alloc): Use xmalloc instead of alloca for
|
||||||
|
@ -4053,6 +4053,12 @@ assign_parms (fndecl, second_time)
|
|||||||
push_to_sequence (conversion_insns);
|
push_to_sequence (conversion_insns);
|
||||||
entry_parm = convert_to_mode (nominal_mode, tempreg,
|
entry_parm = convert_to_mode (nominal_mode, tempreg,
|
||||||
TREE_UNSIGNED (TREE_TYPE (parm)));
|
TREE_UNSIGNED (TREE_TYPE (parm)));
|
||||||
|
if (stack_parm)
|
||||||
|
{
|
||||||
|
/* ??? This may need a big-endian conversion on sparc64. */
|
||||||
|
stack_parm = change_address (stack_parm, nominal_mode,
|
||||||
|
NULL_RTX);
|
||||||
|
}
|
||||||
conversion_insns = get_insns ();
|
conversion_insns = get_insns ();
|
||||||
did_conversion = 1;
|
did_conversion = 1;
|
||||||
end_sequence ();
|
end_sequence ();
|
||||||
|
Loading…
Reference in New Issue
Block a user