From: "Maciej W. Rozycki" <macro@linux-mips.org>
To: Naresh Kamboju <naresh.kamboju@linaro.org>
Cc: linux-mips@vger.kernel.org,
open list <linux-kernel@vger.kernel.org>,
tsbogend@alpha.franken.de, xie.he.0141@gmail.com
Subject: Re: MIPS + clang-11 + allnoconfig / tinyconfig builds failed
Date: Sun, 6 Dec 2020 07:10:22 +0000 (GMT) [thread overview]
Message-ID: <alpine.LFD.2.21.2012060706380.656242@eddie.linux-mips.org> (raw)
In-Reply-To: <CA+G9fYtofC2yzWWB4+YmSp2gv-CoG=boZJ4kXbdO250p1d3MBg@mail.gmail.com>
On Wed, 25 Nov 2020, Naresh Kamboju wrote:
> /builds/1kl9SVppm6wRdzlQ3UcQKIBaUrx/arch/mips/lib/uncached.c:45:6:
> warning: variable 'sp' is uninitialized when used here
> [-Wuninitialized]
> if (sp >= (long)CKSEG0 && sp < (long)CKSEG2)
> ^~
> /builds/1kl9SVppm6wRdzlQ3UcQKIBaUrx/arch/mips/lib/uncached.c:40:18:
> note: initialize the variable 'sp' to silence this warning
> register long sp __asm__("$sp");
> ^
> = 0
FWIW this looks like a compiler bug to me, because $sp, by definition, is
always initialised. I suggest that you report it to Clang developers
instead.
Maciej
next prev parent reply other threads:[~2020-12-06 9:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-25 17:23 MIPS + clang-11 + allnoconfig / tinyconfig builds failed Naresh Kamboju
2020-12-06 7:10 ` Maciej W. Rozycki [this message]
2020-12-10 17:18 Naresh Kamboju
2020-12-10 22:04 ` Nick Desaulniers
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=alpine.LFD.2.21.2012060706380.656242@eddie.linux-mips.org \
--to=macro@linux-mips.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips@vger.kernel.org \
--cc=naresh.kamboju@linaro.org \
--cc=tsbogend@alpha.franken.de \
--cc=xie.he.0141@gmail.com \
/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).