public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/25553]  New: Missed removal of load
@ 2005-12-24  1:46 pinskia at gcc dot gnu dot org
  2005-12-24  1:52 ` [Bug tree-optimization/25553] " pinskia at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-12-24  1:46 UTC (permalink / raw)
  To: gcc-bugs

I don't know what this optimization is called but we miss the removal of the
load of a global variable:

int t;
int g(int);
int f(int tt)
{
  if (tt)
    t = 2;
  else
    t = 3;
  return g(t);
}


I should note I found this while looking at LAPACK.


-- 
           Summary: Missed removal of load
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Keywords: missed-optimization
          Severity: enhancement
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org


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


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

end of thread, other threads:[~2008-04-07  1:45 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-24  1:46 [Bug tree-optimization/25553] New: Missed removal of load pinskia at gcc dot gnu dot org
2005-12-24  1:52 ` [Bug tree-optimization/25553] " pinskia at gcc dot gnu dot org
2006-01-28  4:06 ` pinskia at gcc dot gnu dot org
2006-02-06 16:19 ` pinskia at gcc dot gnu dot org
2007-04-03 19:01 ` pinskia at gcc dot gnu dot org
2007-04-03 19:40 ` rguenth at gcc dot gnu dot org
2007-07-01  1:18 ` pinskia at gcc dot gnu dot org
2008-02-23  5:40 ` pinskia at gcc dot gnu dot org
2008-04-07  1:45 ` 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).