public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/35290] New: Missing dead store elimination
@ 2008-02-22 6:48 xinliangli at gmail dot com
2008-02-22 10:49 ` [Bug middle-end/35290] " rguenth at gcc dot gnu dot org
0 siblings, 1 reply; 2+ messages in thread
From: xinliangli at gmail dot com @ 2008-02-22 6:48 UTC (permalink / raw)
To: gcc-bugs
void foo(int*p, int*q)
{
*p = 10; // <<--- dead, but not removed
*q = 20;
*p = 30;
}
int g;
void bar(int* p)
{
*p = 10; // Dead -- not removed.
g = 1;
*p = 10;
}
--
Summary: Missing dead store elimination
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: xinliangli at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35290
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-02-22 10:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-22 6:48 [Bug middle-end/35290] New: Missing dead store elimination xinliangli at gmail dot com
2008-02-22 10:49 ` [Bug middle-end/35290] " rguenth at gcc dot gnu dot org
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).