From: Doug Evans Date: Wed, 18 Feb 1998 23:57:47 +0000 (+0000) Subject: fix thinko in last patch X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=18daef646e6b5d9a24635bf19e38d946e2aaf2a1;p=binutils-gdb.git fix thinko in last patch --- diff --git a/gas/config/tc-dvp.c b/gas/config/tc-dvp.c index 19f8f60c6b6..e7cfc69298a 100644 --- a/gas/config/tc-dvp.c +++ b/gas/config/tc-dvp.c @@ -468,8 +468,11 @@ assemble_vu (str) vu_lower_opcode_lookup_asm (str), vu_operands, &str, f); /* If this was the "loi" pseudo-insn, we need to set the `i' bit. */ - if (strcmp (opcode->mnemonic, "loi") == 0) - f[7] |= 0x80; + if (opcode != NULL) + { + if (strcmp (opcode->mnemonic, "loi") == 0) + f[7] |= 0x80; + } } static const dvp_opcode *