From 2fdc44405fe0750303f45f8cb26ee755d79a679d Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Tue, 13 Oct 1998 17:58:34 -0600 Subject: function.c (purge_addressof_1): Force the first argument of a CALL insn to memory. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit � * function.c (purge_addressof_1): Force the first argument of a CALL insn to memory. From-SVN: r23071 --- gcc/function.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gcc/function.c') 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); -- cgit v1.2.3