mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-10 06:40:29 +08:00
function.c (assign_parms): Use TREE_TYPE to determine the real type of the argument object.
* function.c (assign_parms): Use TREE_TYPE to determine the real type of the argument object. From-SVN: r73623
This commit is contained in:
parent
5c859e1034
commit
7f3a6a92f5
@ -1,3 +1,8 @@
|
||||
2003-11-14 Jason Merrill <jason@redhat.com>
|
||||
|
||||
* function.c (assign_parms): Use TREE_TYPE to determine the real
|
||||
type of the argument object.
|
||||
|
||||
2003-11-14 Kazu Hirata <kazu@cs.umass.edu>
|
||||
|
||||
* config/h8300/lib1funcs.asm (___udivsi3): Peel off the first
|
||||
|
@ -4947,13 +4947,13 @@ assign_parms (tree fndecl)
|
||||
|
||||
else if (passed_pointer
|
||||
&& FUNCTION_ARG_CALLEE_COPIES (args_so_far,
|
||||
TYPE_MODE (DECL_ARG_TYPE (parm)),
|
||||
DECL_ARG_TYPE (parm),
|
||||
TYPE_MODE (TREE_TYPE (passed_type)),
|
||||
TREE_TYPE (passed_type),
|
||||
named_arg)
|
||||
&& ! TREE_ADDRESSABLE (DECL_ARG_TYPE (parm)))
|
||||
&& ! TREE_ADDRESSABLE (TREE_TYPE (passed_type)))
|
||||
{
|
||||
rtx copy;
|
||||
tree type = DECL_ARG_TYPE (parm);
|
||||
tree type = TREE_TYPE (passed_type);
|
||||
|
||||
/* This sequence may involve a library call perhaps clobbering
|
||||
registers that haven't been copied to pseudos yet. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user