From: Jeff Garzik <jeff@garzik.org>
To: linux-sparse@vger.kernel.org
Subject: linearize bug?
Date: Sat, 11 Nov 2006 23:09:32 -0500 [thread overview]
Message-ID: <45569E7C.4030706@garzik.org> (raw)
Given the following C code:
#include <stdlib.h>
int foo(void)
{
int i;
i = 42;
i += rand();
return i;
}
test-linearize seems to give me the following output, which indicates
that pseudo %r1 is "dead" immediately before it is used:
foo:
.L0x2b52beecd010:
<entry-point>
call.32 %r1 <- rand
dead %r1
add.32 %r4 <- %r1, $42
dead %r4
ret.32 %r4
Am I just confused about the meaning of "dead"? :)
Jeff
next reply other threads:[~2006-11-12 4:09 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-12 4:09 Jeff Garzik [this message]
2006-11-13 4:43 ` linearize bug? Linus Torvalds
-- strict thread matches above, loose matches on Subject: below --
2011-08-27 6:29 Jeff Garzik
2011-08-27 11:34 ` Kamil Dudka
2011-08-27 15:29 ` Linus Torvalds
2011-08-27 15:37 ` Jeff Garzik
2011-08-27 15:53 ` Linus Torvalds
2011-08-27 16:54 ` Kamil Dudka
2011-08-27 17:13 ` Linus Torvalds
2011-08-27 17:27 ` Linus Torvalds
2011-08-27 19:26 ` Linus Torvalds
2011-08-27 20:03 ` Jeff Garzik
2011-08-28 6:26 ` Pekka Enberg
2011-08-27 22:07 ` Jeff Garzik
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=45569E7C.4030706@garzik.org \
--to=jeff@garzik.org \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.