public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug optimization/13796] New: [tree-ssa] consecutive stores to globals not removed
@ 2004-01-21 20:21 dann at godzilla dot ics dot uci dot edu
  2004-01-21 20:24 ` [Bug optimization/13796] " pinskia at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: dann at godzilla dot ics dot uci dot edu @ 2004-01-21 20:21 UTC (permalink / raw)
  To: gcc-bugs

int glob1, glob2;

int foo1 (void)
{
  glob1 = 0;
  glob2 = 1;
  glob1 = 2;
  glob2 = 3;
  return glob1 + glob2;
}

There should be 1 store to glob1 and glob2


the .optimized dump:

foo1 ()
{
<bb 0>:
  glob1 = 0;
  glob2 = 1;
  glob1 = 2;
  glob2 = 3;
  return 5;

}

-- 
           Summary: [tree-ssa] consecutive stores to globals not removed
           Product: gcc
           Version: tree-ssa
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dann at godzilla dot ics dot uci dot edu
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13796


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-04-17 23:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-21 20:21 [Bug optimization/13796] New: [tree-ssa] consecutive stores to globals not removed dann at godzilla dot ics dot uci dot edu
2004-01-21 20:24 ` [Bug optimization/13796] " pinskia at gcc dot gnu dot org
2004-01-21 21:49 ` dberlin at dberlin dot org
2004-02-18  8:14 ` dann at godzilla dot ics dot uci dot edu
2005-04-17 23:54 ` [Bug rtl-optimization/13796] " pinskia at gcc dot gnu dot org
2005-04-17 23:55 ` pinskia 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).