From: cinap_lenrek@felloff.net
To: 9front@9front.org
Subject: Re: [9front] Ape: Fix assert warnings.
Date: Tue, 18 Jun 2019 18:46:19 +0200 [thread overview]
Message-ID: <3D3F1554B533A0CDCBE6DCDADE6A7B23@felloff.net> (raw)
In-Reply-To: 20190618093641.2ec61addb29b579338cacbde@eigenstate.org
no, stdio putc() macro has a different problem.
the null warning comes from trailing int cast
after the character assignment:
CAST INT (1) /tmp/b.c:6[stdin:231]
AS CHAR (1) /tmp/b.c:6[stdin:231]
IND CHAR (1) /tmp/b.c:6[stdin:231]
POSTINC IND CHAR (1) /tmp/b.c:6[stdin:231]
NAME "_IO_stream" 48 <10> IND CHAR /tmp/b.c:6[stdin:231]
Z
Z
CONST "33" <20> CHAR /tmp/b.c:6[stdin:231]
Z
the compiler could statically know if the COND has a
result and not insert the cast.
--
cinap
next reply other threads:[~2019-06-18 16:46 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-18 16:46 cinap_lenrek [this message]
2019-06-18 20:37 ` Ori Bernstein
-- strict thread matches above, loose matches on Subject: below --
2019-06-18 14:37 cinap_lenrek
2019-06-18 14:35 cinap_lenrek
2019-06-18 16:36 ` Ori Bernstein
2019-06-18 14:26 cinap_lenrek
2019-06-18 11:57 cinap_lenrek
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=3D3F1554B533A0CDCBE6DCDADE6A7B23@felloff.net \
--to=cinap_lenrek@felloff.net \
--cc=9front@9front.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).