From 4ee74e29afb898b96a4e13968200ffd78aa212c2 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Thu, 11 Apr 1996 09:04:53 -0400 Subject: [PATCH] (expand_call): In inlining case, if BEFORE_CALLS is zero, start looking at first insn. From-SVN: r11699 --- gcc/calls.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gcc/calls.c b/gcc/calls.c index dca4f65bd1e..f968da5f3b6 100644 --- a/gcc/calls.c +++ b/gcc/calls.c @@ -739,7 +739,8 @@ expand_call (exp, target, ignore) if (stack_arg_under_construction || i >= 0) { - rtx insn = NEXT_INSN (before_call), seq; + rtx insn = before_call ? NEXT_INSN (before_call) : get_insns (); + rtx seq; /* Look for a call in the inline function code. If OUTGOING_ARGS_SIZE (DECL_SAVED_INSNS (fndecl)) is -- 2.30.2