Commit b6448565 by Richard Henderson Committed by Richard Henderson

function.c (assign_parm_setup_reg): Properly rename variables in…

function.c (assign_parm_setup_reg): Properly rename variables in FUNCTION_ARG_CALLEE_COPIES section.

        * function.c (assign_parm_setup_reg): Properly rename variables in
        FUNCTION_ARG_CALLEE_COPIES section.

From-SVN: r84128
parent cb42deba
2004-07-05 Richard Henderson <rth@redhat.com>
* function.c (assign_parm_setup_reg): Properly rename variables in
FUNCTION_ARG_CALLEE_COPIES section.
2004-07-05 Zack Weinberg <zack@codesourcery.com> 2004-07-05 Zack Weinberg <zack@codesourcery.com>
* tree-mudflap.c: Include cgraph.h. * tree-mudflap.c: Include cgraph.h.
......
...@@ -2860,15 +2860,15 @@ assign_parm_setup_reg (struct assign_parm_data_all *all, tree parm, ...@@ -2860,15 +2860,15 @@ assign_parm_setup_reg (struct assign_parm_data_all *all, tree parm,
/* ??? Later add code to handle the case that if the argument isn't /* ??? Later add code to handle the case that if the argument isn't
modified, don't do the copy. */ modified, don't do the copy. */
else if (data->passed_pointer else if (data->passed_pointer)
&& FUNCTION_ARG_CALLEE_COPIES (all->args_so_far, {
TYPE_MODE (TREE_TYPE (passed_type)), tree type = TREE_TYPE (data->passed_type);
TREE_TYPE (passed_type),
data->named_arg) if (FUNCTION_ARG_CALLEE_COPIES (all->args_so_far, TYPE_MODE (type),
&& ! TREE_ADDRESSABLE (TREE_TYPE (passed_type))) type, data->named_arg)
&& !TREE_ADDRESSABLE (type))
{ {
rtx copy; rtx copy;
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. */
...@@ -2895,6 +2895,7 @@ assign_parm_setup_reg (struct assign_parm_data_all *all, tree parm, ...@@ -2895,6 +2895,7 @@ assign_parm_setup_reg (struct assign_parm_data_all *all, tree parm,
did_conversion = true; did_conversion = true;
} }
}
#endif /* FUNCTION_ARG_CALLEE_COPIES */ #endif /* FUNCTION_ARG_CALLEE_COPIES */
/* Mark the register as eliminable if we did no conversion and it was /* Mark the register as eliminable if we did no conversion and it was
......
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