public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/27039]  New: Unable to determine # of iterations for a simple loop
@ 2006-04-05  9:49 rakdver at gcc dot gnu dot org
  2006-04-05  9:57 ` [Bug tree-optimization/27039] " rguenth at gcc dot gnu dot org
                   ` (18 more replies)
  0 siblings, 19 replies; 21+ messages in thread
From: rakdver at gcc dot gnu dot org @ 2006-04-05  9:49 UTC (permalink / raw)
  To: gcc-bugs

With the fix for PR 26763, we are unable to determine # of iterations of the
following loop, more precisely, we are unable to determine that it rolls -- for
that, we would need to fold p_4 + 4B > p_4 + 8B.

int foo (int *p)
{
  int i = 0, *x;

  for (x = p; x < p + 2; x++)
    i++;

  return i;
}


-- 
           Summary: Unable to determine # of iterations for a simple loop
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Keywords: missed-optimization
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rakdver at gcc dot gnu dot org


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


^ permalink raw reply	[flat|nested] 21+ messages in thread
[parent not found: <bug-27039-4@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2021-03-25 14:11 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-05  9:49 [Bug tree-optimization/27039] New: Unable to determine # of iterations for a simple loop rakdver at gcc dot gnu dot org
2006-04-05  9:57 ` [Bug tree-optimization/27039] " rguenth at gcc dot gnu dot org
2006-04-05  9:58 ` [Bug tree-optimization/27039] [4.1/4.2 Regression] " rguenth at gcc dot gnu dot org
2006-04-05 10:05 ` rakdver at atrey dot karlin dot mff dot cuni dot cz
2006-04-05 10:13 ` rguenther at suse dot de
2006-04-05 10:20 ` rakdver at atrey dot karlin dot mff dot cuni dot cz
2006-04-05 10:28 ` rguenther at suse dot de
2006-04-05 10:39 ` rakdver at atrey dot karlin dot mff dot cuni dot cz
2006-04-05 10:47 ` rguenther at suse dot de
2006-04-16 19:18 ` mmitchel at gcc dot gnu dot org
2006-05-04 14:21 ` rguenth at gcc dot gnu dot org
2006-05-04 14:56 ` rakdver at atrey dot karlin dot mff dot cuni dot cz
2006-05-10 14:56 ` rguenth at gcc dot gnu dot org
2006-05-15 14:44 ` patchapp at dberlin dot org
2006-05-25  2:39 ` mmitchel at gcc dot gnu dot org
2006-06-04 12:59 ` rguenth at gcc dot gnu dot org
2006-06-04 13:17 ` [Bug tree-optimization/27039] [4.1 " rguenth at gcc dot gnu dot org
2006-06-09 10:28 ` rguenth at gcc dot gnu dot org
2007-02-14  9:17 ` mmitchel at gcc dot gnu dot org
2008-07-04 15:27 ` jsm28 at gcc dot gnu dot org
     [not found] <bug-27039-4@http.gcc.gnu.org/bugzilla/>
2021-03-25 14:11 ` rguenth at gcc dot gnu.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).