public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/34017]  New: ICE in lambda_loopnest_to_gcc_loopnest with -O2 -ftree-loop-linear
@ 2007-11-07 17:54 janis at gcc dot gnu dot org
  2007-11-08  1:57 ` [Bug tree-optimization/34017] " spop at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: janis at gcc dot gnu dot org @ 2007-11-07 17:54 UTC (permalink / raw)
  To: gcc-bugs

Test 445.gobmk in SPEC CPU2006 fails to build on powerpc64-linux with "-m64 -O2
-ftree-loop-linear" due to an ICE in lambda_loopnest_to_gcc_loopnest, at
lambda-code.c:1840.  This test case demonstrates the problem:

extern int size;
struct data2 { };
struct data1 { int origin; };
static void
print (struct data1 *d1, struct data2 *d2)
{
  int m, n;
  int mini, maxi;
  int minj, maxj;
  int origin = d1[0].origin;
  minj = size;
  for (m = 0; m < size; m++)
    for (n = 0; n < size; n++)
      {
        if (d1[21 + m * 20 + n].origin != origin)
          continue;
        if (m > maxi)
          maxi = m;
        if (n < minj)
          minj = n;
      }
  for (m = mini; m <= maxi; m++)
    {
      for (n = minj; n <= maxj; n++)
        {
        }
    }
}
void
compute (struct data1 *d1, struct data2 d2[400])
{
  print (d1, d2);
}

The failure begins with:

    http://gcc.gnu.org/viewcvs?view=rev&rev=114205
    r114205 | spop | 2006-05-29 16:01:16 +0000 (Mon, 29 May 2006)


-- 
           Summary: ICE in lambda_loopnest_to_gcc_loopnest with -O2 -ftree-
                    loop-linear
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: janis at gcc dot gnu dot org
GCC target triplet: powerpc64-unknown-linux-gnu


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


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

end of thread, other threads:[~2008-01-09 21:23 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-07 17:54 [Bug tree-optimization/34017] New: ICE in lambda_loopnest_to_gcc_loopnest with -O2 -ftree-loop-linear janis at gcc dot gnu dot org
2007-11-08  1:57 ` [Bug tree-optimization/34017] " spop at gcc dot gnu dot org
2007-11-19  4:28 ` [Bug tree-optimization/34017] [4.2/4.3 Regression] " pinskia at gcc dot gnu dot org
2007-11-22 15:19 ` jakub at gcc dot gnu dot org
2007-11-27  5:57 ` mmitchel at gcc dot gnu dot org
2008-01-09  5:55 ` spop at gcc dot gnu dot org
2008-01-09  7:58 ` spop at gcc dot gnu dot org
2008-01-09 22:14 ` spop at gcc dot gnu dot org
2008-01-09 22:18 ` spop 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).