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; 5+ 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] 5+ messages in thread

end of thread, other threads:[~2014-09-05 10:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-35290-4@http.gcc.gnu.org/bugzilla/>
2010-11-09 23:11 ` [Bug middle-end/35290] Missing dead store elimination xinliangli at gmail dot com
2010-11-09 23:22 ` [Bug tree-optimization/35290] " pinskia at gcc dot gnu.org
2010-11-10 12:32 ` rguenth at gcc dot gnu.org
2014-09-05 10:58 ` glisse at gcc dot gnu.org
2008-02-22  6:48 [Bug middle-end/35290] New: " 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).