OSDN Git Service

(expand_call): In inlining case, if BEFORE_CALLS is zero, start
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 11 Apr 1996 13:04:53 +0000 (13:04 +0000)
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 11 Apr 1996 13:04:53 +0000 (13:04 +0000)
looking at first insn.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11699 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/calls.c

index dca4f65..f968da5 100644 (file)
@@ -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