projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19f9883
)
Internal error at gas/expr.c:1814
author
Alan Modra
<amodra@gmail.com>
Wed, 8 Feb 2023 02:57:24 +0000
(13:27 +1030)
committer
Alan Modra
<amodra@gmail.com>
Wed, 8 Feb 2023 22:32:18 +0000
(09:02 +1030)
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
patch
|
blob
|
history
diff --git
a/gas/expr.c
b/gas/expr.c
index 794be6f09d8a25a7e7b2136c62b101c962c33997..189236bec6d6cca1a3d96cc149834d376eda2ea4 100644
(file)
--- 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;