* Internal error at gas/expr.c:1814
@ 2023-02-08 23:12 Alan Modra
0 siblings, 0 replies; only message in thread
From: Alan Modra @ 2023-02-08 23:12 UTC (permalink / raw)
To: binutils
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.
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;
--
Alan Modra
Australia Development Lab, IBM
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-02-08 23:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-08 23:12 Internal error at gas/expr.c:1814 Alan Modra
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).