[Bug middle-end/31116] [4.3 regression] libstdc++ ext/pb_ds/regression/priority_queue_rand.cc
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Mar 10 02:32:00 GMT 2007
------- Comment #2 from pinskia at gcc dot gnu dot org 2007-03-10 02:32 -------
On spu-elf, I get:
Executing on host: /home/apinski/src/local/gcc/objdir-spu/gcc/xgcc
-B/home/apinski/src/local/gcc/objdir-spu/gcc/
/home/apinski/src/local/gcc/gcc/testsuite/gcc.dg/pr28935.c -O3
-ftree-vectorize -fno-show-column -S -o pr28935.s (timeout = 300)
/home/apinski/src/local/gcc/gcc/testsuite/gcc.dg/pr28935.c: In function
'extend_options':^M
/home/apinski/src/local/gcc/gcc/testsuite/gcc.dg/pr28935.c:15: internal
compiler error: in cse_find_path, at cse.c:5930^M
Please submit a full bug report,^M
The testcase is small enough to copy and paste here:
/* { dg-do compile } */
/* { dg-options "-O3 -ftree-vectorize" } */
int col[8];
int extend_options(int w, int h, int *map, int x, int y, int index)
{
int dx, dy;
for (dx = -1; dx <= +1; dx++)
{
int index = (dy < 0 ? 6-dx : dy > 0 ? 2+dx : 2*(1+dx));
if (x+dx >= 0 && x+dx < w && y+dy >= 0 && y+dy < h)
col[index] = map[(y+dy)*w+(x+dx)];
col[index] = -1;
}
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31116
More information about the Gcc-bugs
mailing list