* [PATCH] fix linear_isdigit()'s itype
@ 2020-11-09 22:49 Luc Van Oostenryck
0 siblings, 0 replies; only message in thread
From: Luc Van Oostenryck @ 2020-11-09 22:49 UTC (permalink / raw)
To: linux-sparse; +Cc: Luc Van Oostenryck
The merge of the branch with the linear_isdigit() experiment
and the branch giving a type to OP_SETxx's arguments created
a semantic conflict: the compare used for the isidigt() builtin
needed the type too.
Fix this now.
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
---
linearize.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/linearize.c b/linearize.c
index c1e3455adb67..d3c009b36d22 100644
--- a/linearize.c
+++ b/linearize.c
@@ -2617,6 +2617,7 @@ static pseudo_t linearize_isdigit(struct entrypoint *ep, struct expression *expr
use_pseudo(insn, src, &insn->src1);
insn->src2 = value_pseudo(9);
insn->target = alloc_pseudo(insn);
+ insn->itype = &int_ctype;
add_one_insn(ep, insn);
return insn->target;
--
2.29.2
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2020-11-09 22:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-09 22:49 [PATCH] fix linear_isdigit()'s itype Luc Van Oostenryck
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 NNTP newsgroup(s).