Fix typo checking number of operands.
PR gas/18678 * config/tc-tic4x.c (tic4x_insn_check): Fix typo.
This commit is contained in:
parent
2b29bb41d5
commit
88fd0449a3
@ -1,5 +1,8 @@
|
||||
2015-08-11 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
PR gas/18678
|
||||
* config/tc-tic4x.c (tic4x_insn_check): Fix typo.
|
||||
|
||||
PR gas/18679
|
||||
* config/xtensa-relax.c (same_operand_name): Fix typo.
|
||||
|
||||
|
@ -2354,7 +2354,7 @@ tic4x_insn_check (tic4x_insn_t *tinsn)
|
||||
|| !strcmp (tinsn->name, "ldf1_ldf2")
|
||||
|| !strcmp (tinsn->name, "ldf2_ldf1") )
|
||||
{
|
||||
if (tinsn->num_operands < 4 && tinsn->num_operands > 5 )
|
||||
if (tinsn->num_operands < 4 || tinsn->num_operands > 5)
|
||||
as_fatal ("Illegal internal %s insn definition", tinsn->name);
|
||||
|
||||
if (tinsn->operands[1].mode == M_REGISTER
|
||||
|
Loading…
x
Reference in New Issue
Block a user