public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/37416]  New: Failure to return number of  loop iterations
@ 2008-09-08  6:39 irar at il dot ibm dot com
  2008-09-13 12:07 ` [Bug tree-optimization/37416] [4.4 Regression] " rguenth at gcc dot gnu dot org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: irar at il dot ibm dot com @ 2008-09-08  6:39 UTC (permalink / raw)
  To: gcc-bugs

For the loop in testcase of pr36630:

void
foo (unsigned char *x, short y)
{
  short i;

  i = 2;
  while (i < y)
    {
      x[i - 1] = x[i];
      i = i + 1;
    }
}

we used to get 
# of iterations (short unsigned int) y_3(D) + 65533, bounded by 32764
and now we get scev_not_known.

Also Sebastian noticed (from pr36630):

> I also have remarked on one of the graphite testcases scop-matmult.c
> that we had a regression in the precision of the number of iterations from
> last graphite merge till yesterday's merge, i.e. from 138275 to 139870
> We used to have a symbolic number of iterations, but now the result
> is scev_dont_know.  I have not yet tracked this down to the patch that
> produced this regression.
> 
> Sebastian


-- 
           Summary: Failure to return number of  loop iterations
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: irar at il dot ibm dot com


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


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

end of thread, other threads:[~2008-12-10 10:55 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-08  6:39 [Bug tree-optimization/37416] New: Failure to return number of loop iterations irar at il dot ibm dot com
2008-09-13 12:07 ` [Bug tree-optimization/37416] [4.4 Regression] " rguenth at gcc dot gnu dot org
2008-10-22  3:08 ` mmitchel at gcc dot gnu dot org
2008-11-21 20:58 ` steven at gcc dot gnu dot org
2008-11-22 15:10 ` irar at il dot ibm dot com
2008-11-22 15:49 ` rguenth at gcc dot gnu dot org
2008-12-09 17:16 ` jakub at gcc dot gnu dot org
2008-12-09 20:38 ` jakub at gcc dot gnu dot org
2008-12-09 22:50 ` jakub at gcc dot gnu dot org
2008-12-10 10:50 ` jakub at gcc dot gnu dot org
2008-12-10 10:55 ` jakub 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).