public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/20999] New: store should not be done if we don't change its value
@ 2005-04-13 18:32 pinskia at gcc dot gnu dot org
  2005-04-13 18:34 ` [Bug tree-optimization/20999] " pinskia at gcc dot gnu dot org
  2005-06-13  4:10 ` pinskia at gcc dot gnu dot org
  0 siblings, 2 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-13 18:32 UTC (permalink / raw)
  To: gcc-bugs

int i;
void f()
{
  int t = i;
  if(t == 4)
    t = 3;
  i = t;
}

void f1()
{
  if (i == 4)
   i = 3;

}

-- 
           Summary: store should not be done if we don't change its value
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Keywords: missed-optimization
          Severity: enhancement
          Priority: P2
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


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


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

* [Bug tree-optimization/20999] store should not be done if we don't change its value
  2005-04-13 18:32 [Bug tree-optimization/20999] New: store should not be done if we don't change its value pinskia at gcc dot gnu dot org
@ 2005-04-13 18:34 ` pinskia at gcc dot gnu dot org
  2005-06-13  4:10 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-13 18:34 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|unknown                     |4.1.0


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


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

* [Bug tree-optimization/20999] store should not be done if we don't change its value
  2005-04-13 18:32 [Bug tree-optimization/20999] New: store should not be done if we don't change its value pinskia at gcc dot gnu dot org
  2005-04-13 18:34 ` [Bug tree-optimization/20999] " pinskia at gcc dot gnu dot org
@ 2005-06-13  4:10 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-13  4:10 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-06-13 04:09 -------
Confirmed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-06-13 04:09:57
               date|                            |


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


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

end of thread, other threads:[~2005-06-13  4:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-13 18:32 [Bug tree-optimization/20999] New: store should not be done if we don't change its value pinskia at gcc dot gnu dot org
2005-04-13 18:34 ` [Bug tree-optimization/20999] " pinskia at gcc dot gnu dot org
2005-06-13  4:10 ` 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).