Commit 7f3a6a92 by Jason Merrill Committed by Jason Merrill

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
parent 5c859e10
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> 2003-11-14 Kazu Hirata <kazu@cs.umass.edu>
* config/h8300/lib1funcs.asm (___udivsi3): Peel off the first * config/h8300/lib1funcs.asm (___udivsi3): Peel off the first
......
...@@ -4947,13 +4947,13 @@ assign_parms (tree fndecl) ...@@ -4947,13 +4947,13 @@ assign_parms (tree fndecl)
else if (passed_pointer else if (passed_pointer
&& FUNCTION_ARG_CALLEE_COPIES (args_so_far, && FUNCTION_ARG_CALLEE_COPIES (args_so_far,
TYPE_MODE (DECL_ARG_TYPE (parm)), TYPE_MODE (TREE_TYPE (passed_type)),
DECL_ARG_TYPE (parm), TREE_TYPE (passed_type),
named_arg) named_arg)
&& ! TREE_ADDRESSABLE (DECL_ARG_TYPE (parm))) && ! TREE_ADDRESSABLE (TREE_TYPE (passed_type)))
{ {
rtx copy; rtx copy;
tree type = DECL_ARG_TYPE (parm); tree type = TREE_TYPE (passed_type);
/* This sequence may involve a library call perhaps clobbering /* This sequence may involve a library call perhaps clobbering
registers that haven't been copied to pseudos yet. */ registers that haven't been copied to pseudos yet. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment