aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Meissner <meissner@gcc.gnu.org>1993-04-01 16:58:13 +0000
committerMichael Meissner <meissner@gcc.gnu.org>1993-04-01 16:58:13 +0000
commit740b4585ffea9b0a00ac88aa293949b97dc27996 (patch)
tree71ec7068d203be6f2d722c2778048f289f798e0d
parent9d1bd99c2b3b74316d4f4c7eefc929a06681dff5 (diff)
downloadgcc-740b4585ffea9b0a00ac88aa293949b97dc27996.zip
gcc-740b4585ffea9b0a00ac88aa293949b97dc27996.tar.gz
gcc-740b4585ffea9b0a00ac88aa293949b97dc27996.tar.bz2
Eliminate statement not reached warning messages that the MIPS compiler generates.
From-SVN: r3987
-rw-r--r--gcc/config/mips/mips.md22
1 files changed, 12 insertions, 10 deletions
diff --git a/gcc/config/mips/mips.md b/gcc/config/mips/mips.md
index 56886b3..884464f 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;
+ }
}")
;;