From 740b4585ffea9b0a00ac88aa293949b97dc27996 Mon Sep 17 00:00:00 2001 From: Michael Meissner Date: Thu, 1 Apr 1993 16:58:13 +0000 Subject: [PATCH] Eliminate statement not reached warning messages that the MIPS compiler generates. From-SVN: r3987 --- gcc/config/mips/mips.md | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/gcc/config/mips/mips.md b/gcc/config/mips/mips.md index 56886b3a95f..884464f0062 100644 --- a/gcc/config/mips/mips.md +++ b/gcc/config/mips/mips.md @@ -4213,19 +4213,21 @@ move\\t%0,%z4\\n\\ "" " { - int i; - - emit_call_insn (gen_call (operands[0], const0_rtx, NULL, const0_rtx)); - - for (i = 0; i < XVECLEN (operands[2], 0); i++) + if (operands[0]) /* silence statement not reached warnings */ { - rtx set = XVECEXP (operands[2], 0, i); - emit_move_insn (SET_DEST (set), SET_SRC (set)); - } + int i; + + emit_call_insn (gen_call (operands[0], const0_rtx, NULL, const0_rtx)); - emit_insn (gen_blockage ()); + for (i = 0; i < XVECLEN (operands[2], 0); i++) + { + rtx set = XVECEXP (operands[2], 0, i); + emit_move_insn (SET_DEST (set), SET_SRC (set)); + } - DONE; + emit_insn (gen_blockage ()); + DONE; + } }") ;; -- 2.30.2