From: Richard Kenner Date: Sun, 29 May 1994 20:24:15 +0000 (-0400) Subject: (jump_optimize): When deleting unneeded stack adjusts or mem-mem X-Git-Tag: misc/cutover-egcs-0~6558 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=344a822046c08d2cb6a80eada0dbcbcf77cb6a44;p=thirdparty%2Fgcc.git (jump_optimize): When deleting unneeded stack adjusts or mem-mem copies, use delete_computation. From-SVN: r7385 --- diff --git a/gcc/jump.c b/gcc/jump.c index 834bbce0f769..40258a5c0a27 100644 --- a/gcc/jump.c +++ b/gcc/jump.c @@ -362,7 +362,7 @@ jump_optimize (f, cross_jump, noop_moves, after_regscan) maybe eliminate it entirely. */ if (total_pushed >= stack_adjust_amount) { - delete_insn (stack_adjust_insn); + delete_computation (stack_adjust_insn); total_pushed = stack_adjust_amount; } else @@ -416,7 +416,7 @@ jump_optimize (f, cross_jump, noop_moves, after_regscan) && MEM_VOLATILE_P (SET_DEST (body))) && ! (GET_CODE (SET_SRC (body)) == MEM && MEM_VOLATILE_P (SET_SRC (body)))) - delete_insn (insn); + delete_computation (insn); /* Detect and ignore no-op move instructions resulting from smart or fortuitous register allocation. */