From: Sergio Durigan Junior <sergiodj@redhat.com>
To: Jan Kratochvil <jan.kratochvil@redhat.com>
Cc: Sergio Durigan <sdurigan@redhat.com>, archer@sourceware.org
Subject: Re: archer-sergiodj-stap -O2 -Wall warnings=errors
Date: Mon, 21 Mar 2011 05:10:00 -0000 [thread overview]
Message-ID: <m3zkopf49m.fsf@redhat.com> (raw)
In-Reply-To: <20110320152726.GA8505@host1.jankratochvil.net> (Jan Kratochvil's message of "Sun, 20 Mar 2011 16:27:26 +0100")
Hi Jan,
Jan Kratochvil <jan.kratochvil@redhat.com> writes:
> Hi Sergio,
>
> with -O2 (+some -Wall or so options possibly - what applies for Fedora builds)
> one gets:
>
> gcc-4.6.0-0.14.fc15.x86_64
> stap-probe.c: In function ‘stap_fetch_reg_value’:
> stap-probe.c:923:12: error: ‘aop’ may be used uninitialized in this function [-Werror=uninitialized]
> stap-probe.c:919:10: error: ‘ret’ may be used uninitialized in this function [-Werror=uninitialized]
> stap-probe.c: In function ‘stap_evaluate_conditionally’:
> stap-probe.c:1184:3: error: ‘res’ may be used uninitialized in this
> function [-Werror=uninitialized]
Thanks for pointing out those errors. They were fixed today (Sunday)
afternoon, after you tried to compile my branch. I compiled it here
with -O2 -Wall and everything worked.
Thanks.
prev parent reply other threads:[~2011-03-21 5:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-20 15:27 Jan Kratochvil
2011-03-21 5:10 ` Sergio Durigan Junior [this message]
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=m3zkopf49m.fsf@redhat.com \
--to=sergiodj@redhat.com \
--cc=archer@sourceware.org \
--cc=jan.kratochvil@redhat.com \
--cc=sdurigan@redhat.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 read-only IMAP folder(s) and NNTP newsgroup(s).