From c9dea48b1faf7a8a243673dd32a0089036f7ea36 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Tue, 1 Mar 2005 02:00:15 +0000 Subject: * 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. --- gas/expr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gas/expr.c') diff --git a/gas/expr.c b/gas/expr.c index 460a837..49517c5 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. */ -- cgit v1.1