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.
This commit is contained in:
Alan Modra 2023-02-08 13:27:24 +10:30
parent 19f988359a
commit 4fd74b5f05

View File

@ -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;