public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/32120]  New: missed PRE/FRE of a*2+4 and (a+2)*2
@ 2007-05-28  7:22 pinskia at gcc dot gnu dot org
  2007-05-28 10:27 ` [Bug tree-optimization/32120] " rguenth at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-05-28  7:22 UTC (permalink / raw)
  To: gcc-bugs

A testcase which we should optimize all the way to return true:
int f(int a, int b)
{
  int c = a+2;
  int d = c*2;
  int e = a*2;
  int f = e+4;
  return d == f;
}


-- 
           Summary: missed PRE/FRE of a*2+4 and (a+2)*2
           Product: gcc
           Version: 4.3.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=32120


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

end of thread, other threads:[~2012-06-27 21:48 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-32120-4@http.gcc.gnu.org/bugzilla/>
2012-03-03 23:44 ` [Bug tree-optimization/32120] missed PRE/FRE of a*2+4 and (a+2)*2 pinskia at gcc dot gnu.org
2012-03-04  0:46 ` pinskia at gcc dot gnu.org
2012-03-05 17:21 ` dberlin at gcc dot gnu.org
2012-03-05 17:33 ` rguenth at gcc dot gnu.org
2012-03-06 12:06 ` matz at gcc dot gnu.org
2012-03-13  3:22 ` pinskia at gcc dot gnu.org
2012-06-27 21:48 ` wschmidt at gcc dot gnu.org
2007-05-28  7:22 [Bug tree-optimization/32120] New: " pinskia at gcc dot gnu dot org
2007-05-28 10:27 ` [Bug tree-optimization/32120] " rguenth at gcc dot gnu dot org
2007-06-10  2:23 ` pinskia at gcc dot gnu dot org
2007-06-10  3:31 ` dberlin at gcc dot gnu dot org
2007-06-29  3:05 ` pinskia at gcc dot gnu dot org
2008-04-29  9:56 ` 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).