public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
[parent not found: <bug-22196-4@http.gcc.gnu.org/bugzilla/>]
* [Bug tree-optimization/22196] New: Missed back prop
@ 2005-06-26 20:15 pinskia at gcc dot gnu dot org
  2005-07-02 17:32 ` [Bug tree-optimization/22196] " pinskia at gcc dot gnu dot org
  0 siblings, 1 reply; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-26 20:15 UTC (permalink / raw)
  To: gcc-bugs

The following two functions should be equal:
unsigned f(int i, unsigned x)
{
  unsigned y;
  if (i)
    y = 1024;
  else
    y = 1024*1024;
  return x/y ;
}

unsigned f1(int i, unsigned x)
{
  unsigned y;
  if (i)
    y = x/ 1024;
  else
    y = x/(1024*1024);
  return y ;
}

-- 
           Summary: Missed back prop
           Product: gcc
           Version: 4.1.0
            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=22196


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

end of thread, other threads:[~2023-11-18 18:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-22196-6528@http.gcc.gnu.org/bugzilla/>
2007-02-09 16:10 ` [Bug tree-optimization/22196] Missed back prop pinskia at gcc dot gnu dot org
     [not found] <bug-22196-4@http.gcc.gnu.org/bugzilla/>
2021-06-08  9:12 ` pinskia at gcc dot gnu.org
2023-11-07 22:25 ` pinskia at gcc dot gnu.org
2023-11-18 18:19 ` pinskia at gcc dot gnu.org
2005-06-26 20:15 [Bug tree-optimization/22196] New: " pinskia at gcc dot gnu dot org
2005-07-02 17:32 ` [Bug tree-optimization/22196] " 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).