diff options
author | Alan Modra <amodra@gmail.com> | 2005-03-01 02:00:15 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2005-03-01 02:00:15 +0000 |
commit | c9dea48b1faf7a8a243673dd32a0089036f7ea36 (patch) | |
tree | 9e1819147081e7c3fbf2923cd5ca4bf984212980 /gas/config/tc-i370.c | |
parent | 055d1eb0f88fc42495d1fac45e89e5ef06ab207d (diff) | |
download | gdb-c9dea48b1faf7a8a243673dd32a0089036f7ea36.zip gdb-c9dea48b1faf7a8a243673dd32a0089036f7ea36.tar.gz gdb-c9dea48b1faf7a8a243673dd32a0089036f7ea36.tar.bz2 |
* as.h (assert): Warning fix.
* expr.c (expr): Correct assertion.
* read.c (s_comm_internal): Remove assertion.
* write.c (relax_segment): Enable vma assertion only for BFD_ASSEMBLER.
(fixup_segment): Remove assertion.
* config/tc-dlx.c (machine_ip): Remove untrue assertions.
(md_apply_fix3): Likewise.
* config/tc-i370.c (md_begin): Correct assertion.
(i370_macro): Warning fix for assertion.
Diffstat (limited to 'gas/config/tc-i370.c')
-rw-r--r-- | gas/config/tc-i370.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gas/config/tc-i370.c b/gas/config/tc-i370.c index 29b4095..813fd63 100644 --- a/gas/config/tc-i370.c +++ b/gas/config/tc-i370.c @@ -588,7 +588,8 @@ md_begin () op_end = i370_opcodes + i370_num_opcodes; for (op = i370_opcodes; op < op_end; op++) { - know ((op->opcode & op->mask) == op->opcode); + know ((op->opcode.i[0] & op->mask.i[0]) == op->opcode.i[0] + && (op->opcode.i[1] & op->mask.i[1]) == op->opcode.i[1]); if ((op->flags & i370_cpu) != 0) { @@ -2422,7 +2423,7 @@ i370_macro (str, macro) else { arg = strtol (format + 1, &send, 10); - know (send != format && arg >= 0 && arg < count); + know (send != format && arg >= 0 && (unsigned) arg < count); len += strlen (operands[arg]); format = send; } |