From 18daef646e6b5d9a24635bf19e38d946e2aaf2a1 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Wed, 18 Feb 1998 23:57:47 +0000 Subject: [PATCH] fix thinko in last patch --- gas/config/tc-dvp.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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 * -- 2.30.2