From: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
To: linux-sparse@vger.kernel.org
Cc: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Subject: [PATCH] fix linear_isdigit()'s itype
Date: Mon, 9 Nov 2020 23:49:03 +0100 [thread overview]
Message-ID: <20201109224903.74865-1-luc.vanoostenryck@gmail.com> (raw)
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
reply other threads:[~2020-11-09 22:49 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201109224903.74865-1-luc.vanoostenryck@gmail.com \
--to=luc.vanoostenryck@gmail.com \
--cc=linux-sparse@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).