projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3579a4
)
(assign_parms): Clear STACK_PARM when we have a
author
Richard Stallman
<rms@gnu.org>
Mon, 15 Nov 1993 05:40:19 +0000
(
05:40
+0000)
committer
Richard Stallman
<rms@gnu.org>
Mon, 15 Nov 1993 05:40:19 +0000
(
05:40
+0000)
pass-by-pointer parm that we load into a pseudo.
From-SVN: r6098
gcc/function.c
patch
|
blob
|
history
diff --git
a/gcc/function.c
b/gcc/function.c
index 53918e9bb99b0275b3f8312361621ae6e7df4f7b..9c2cf5fa16d8744e3352ca42dec95b93dab7960c 100644
(file)
--- a/
gcc/function.c
+++ b/
gcc/function.c
@@
-3412,6
+3412,9
@@
assign_parms (fndecl, second_time)
parmreg = gen_reg_rtx (TYPE_MODE (TREE_TYPE (parm)));
emit_move_insn (parmreg, DECL_RTL (parm));
DECL_RTL (parm) = parmreg;
+ /* STACK_PARM is the pointer, not the parm, and PARMREG is
+ now the parm. */
+ stack_parm = 0;
}
#ifdef FUNCTION_ARG_CALLEE_COPIES
/* If we are passed an arg by reference and it is our responsibility