diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1996-04-11 09:04:53 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1996-04-11 09:04:53 -0400 |
commit | 4ee74e29afb898b96a4e13968200ffd78aa212c2 (patch) | |
tree | 96a64731e3b705b8351f020af9bf3d51f1f6d537 | |
parent | 43198be7c4cf49f0ba7fcdbe3d5558b47f0ad0a2 (diff) | |
download | gcc-4ee74e29afb898b96a4e13968200ffd78aa212c2.zip gcc-4ee74e29afb898b96a4e13968200ffd78aa212c2.tar.gz gcc-4ee74e29afb898b96a4e13968200ffd78aa212c2.tar.bz2 |
(expand_call): In inlining case, if BEFORE_CALLS is zero, start
looking at first insn.
From-SVN: r11699
-rw-r--r-- | gcc/calls.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/calls.c b/gcc/calls.c index dca4f65..f968da5 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 |