diff options
| author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-10-13 23:58:34 +0000 |
|---|---|---|
| committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-10-13 23:58:34 +0000 |
| commit | 3b1923312d8da07a2631de03e2664bc914aee8a2 (patch) | |
| tree | 41c9c5a2dd0eeaca5bdb0f748ad51ce6c03a416e /gcc/function.c | |
| parent | 1822449ffd72494e84de187b32c851ab8e51a328 (diff) | |
| download | ppe42-gcc-3b1923312d8da07a2631de03e2664bc914aee8a2.tar.gz ppe42-gcc-3b1923312d8da07a2631de03e2664bc914aee8a2.zip | |
�
* function.c (purge_addressof_1): Force the first argument of a
CALL insn to memory.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23071 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/function.c')
| -rw-r--r-- | gcc/function.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/function.c b/gcc/function.c index 3904b86960a..b209b131164 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -2950,6 +2950,12 @@ purge_addressof_1 (loc, insn, force, store) purge_addressof_1 (&SET_SRC (x), insn, force, 0); return; } + else if (code == CALL) + { + purge_addressof_1 (&XEXP (x, 0), insn, 1, 0); + purge_addressof_1 (&XEXP (x, 1), insn, force, 0); + return; + } /* Scan all subexpressions. */ fmt = GET_RTX_FORMAT (code); |

