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

* [Bug optimization/13796] [tree-ssa] consecutive stores to globals not removed
  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 ` pinskia at gcc dot gnu dot org
  2004-01-21 21:49 ` dberlin at dberlin dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-21 20:24 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-01-21 20:24 -------
Confirmed, not even PTA helps.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |pessimizes-code
   Last reconfirmed|0000-00-00 00:00:00         |2004-01-21 20:24:35
               date|                            |
   Target Milestone|---                         |tree-ssa


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


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

* [Bug optimization/13796] [tree-ssa] consecutive stores to globals not removed
  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
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: dberlin at dberlin dot org @ 2004-01-21 21:49 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From dberlin at dberlin dot org  2004-01-21 21:49 -------
Subject: Re:  [tree-ssa] consecutive stores to globals not removed

PTA will also take care of this one once i am completely done (this 
might take a little longer).



-- 


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


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

* [Bug optimization/13796] [tree-ssa] consecutive stores to globals not removed
  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
  4 siblings, 0 replies; 6+ messages in thread
From: dann at godzilla dot ics dot uci dot edu @ 2004-02-18  8:14 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From dann at godzilla dot ics dot uci dot edu  2004-02-18 08:13 -------
Fixed by DSE. 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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


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

* [Bug rtl-optimization/13796] [tree-ssa] consecutive stores to globals not removed
  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
                   ` (2 preceding siblings ...)
  2004-02-18  8:14 ` dann at godzilla dot ics dot uci dot edu
@ 2005-04-17 23:54 ` pinskia at gcc dot gnu dot org
  2005-04-17 23:55 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-17 23:54 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-04-17 23:54 -------
Well actually this no longer works because DSE does not understand V_MAY_DEF.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |


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


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

* [Bug rtl-optimization/13796] [tree-ssa] consecutive stores to globals not removed
  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
                   ` (3 preceding siblings ...)
  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
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-17 23:55 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-04-17 23:55 -------
And that makes it a dup of bug 18880.

*** This bug has been marked as a duplicate of 18880 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |DUPLICATE


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).