[Bug tree-optimization/24309] [4.1/4.2/4.3 Regression] ICE with -O3 -ftree-loop-linear

pthaugen at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Oct 10 22:29:00 GMT 2007



------- Comment #18 from pthaugen at gcc dot gnu dot org  2007-10-10 22:28 -------
I'm appear to be seeing the same thing trying to build 445.gobmk from cpu2006
on PowerPC.

run/build_base_gcc_64.0000> cat junk.c

int  board_size;

void print_eye(int eye[400])
{
  int m, n;
  int mini, maxi;
  int minj, maxj;

  mini = 1;
  minj = 1;
  for (m = 0; m < board_size; m++)
    for (n = 0; n < board_size; n++) {
      if (eye[m  + n] != 5) continue;

      if (m < mini) mini = m;
      if (n < minj) minj = n;
    }

  board_size = mini + minj;
}
run/build_base_gcc_64.0000> /home/pthaugen/install/gcc/trunk/bin/gcc -c -m64
-O2 -ftree-loop-linear junk.c
junk.c: In function 'print_eye':
junk.c:5: internal compiler error: in lambda_loopnest_to_gcc_loopnest, at
lambda-code.c:1840
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


-- 

pthaugen at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pthaugen at gcc dot gnu dot
                   |                            |org, bergner at gcc dot gnu
                   |                            |dot org


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



More information about the Gcc-bugs mailing list