summaryrefslogtreecommitdiff
path: root/gas/expr.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2005-03-01 02:00:15 +0000
committerAlan Modra <amodra@bigpond.net.au>2005-03-01 02:00:15 +0000
commit8cb56db73392dadc5bd477e0ec1f42963ccef520 (patch)
tree967790f59f4d69f51adc25133569e25cfe5587e0 /gas/expr.c
parent34c5cb33c4c2c22d36412f63a69f9cabf82cb54a (diff)
downloadbinutils-redhat-8cb56db73392dadc5bd477e0ec1f42963ccef520.tar.gz
* 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/expr.c')
-rw-r--r--gas/expr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/expr.c b/gas/expr.c
index 460a8372dd..49517c57e2 100644
--- a/gas/expr.c
+++ b/gas/expr.c
@@ -1716,7 +1716,7 @@ expr (int rankarg, /* Larger # is higher rank. */
know (op_right == O_illegal
|| op_rank[(int) op_right] <= op_rank[(int) op_left]);
know ((int) op_left >= (int) O_multiply
- && (int) op_left <= (int) O_logical_or);
+ && (int) op_left <= (int) O_index);
/* input_line_pointer->after right-hand quantity. */
/* left-hand quantity in resultP. */