public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/38723]  New: default definitions not in avail_out
@ 2009-01-04 18:40 rguenth at gcc dot gnu dot org
  2009-01-04 21:34 ` [Bug tree-optimization/38723] " rguenth at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-01-04 18:40 UTC (permalink / raw)
  To: gcc-bugs

FRE does not optimize

int i;
int foo (void)
{
  int j;
  i = j;
  return i;
}

because j_1(D) is never in AVAIL_OUT, so we do not find a leader for it.

We can fix this by either pretending used default definitions are defined
in the entry block or by treating default definitions the same as constants
during elimination.

Danny?


-- 
           Summary: default definitions not in avail_out
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Keywords: missed-optimization
          Severity: enhancement
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rguenth at gcc dot gnu dot org


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


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

end of thread, other threads:[~2009-03-28 17:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-04 18:40 [Bug tree-optimization/38723] New: default definitions not in avail_out rguenth at gcc dot gnu dot org
2009-01-04 21:34 ` [Bug tree-optimization/38723] " rguenth at gcc dot gnu dot org
2009-01-04 22:35 ` dberlin at dberlin dot org
2009-01-04 23:05 ` rguenth at gcc dot gnu dot org
2009-03-28 17:18 ` rguenth at gcc dot gnu dot org
2009-03-28 17:18 ` 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).