From 4fd74b5f05e63c5b4e705080c331da961fac7394 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Wed, 8 Feb 2023 13:27:24 +1030 Subject: [PATCH] Internal error at gas/expr.c:1814 This is the assertion know (*input_line_pointer != ' '); after calling operand. The usual exit from operand calls SKIP_ALL_WHITESPACE. * expr.c (operand): Call SKIP_ALL_WHITESPACE after call to expr. --- gas/expr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gas/expr.c b/gas/expr.c index 794be6f09d8..189236bec6d 100644 --- a/gas/expr.c +++ b/gas/expr.c @@ -996,7 +996,7 @@ operand (expressionS *expressionP, enum expr_mode mode) } else input_line_pointer++; - SKIP_WHITESPACE (); + SKIP_ALL_WHITESPACE (); /* Here with input_line_pointer -> char after "(...)". */ return segment; -- 2.30.2