[Bug middle-end/31116] [4.3 regression] libstdc++ ext/pb_ds/regression/priority_queue_rand.cc

2007-03-11 Thread steven at gcc dot gnu dot org


--- Comment #4 from steven at gcc dot gnu dot org  2007-03-11 10:14 ---
Same problem as PR31127.

*** This bug has been marked as a duplicate of 31127 ***


-- 

steven at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||DUPLICATE


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



[Bug middle-end/31116] [4.3 regression] libstdc++ ext/pb_ds/regression/priority_queue_rand.cc

2007-03-10 Thread aldyh at gcc dot gnu dot org


--- Comment #3 from aldyh at gcc dot gnu dot org  2007-03-10 14:14 ---
This has nothing to do with my patch.  When I remove the cse.c patch, the
-ftree-vectorize goes away, so it's probably related to that patch.


-- 


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



[Bug middle-end/31116] [4.3 regression] libstdc++ ext/pb_ds/regression/priority_queue_rand.cc

2007-03-09 Thread hp at gcc dot gnu dot org


--- Comment #1 from hp at gcc dot gnu dot org  2007-03-10 00:10 ---
Created an attachment (id=13184)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13184action=view)
Preprocessed code from test-suite

Running cc1plus -fpreprocessed priority_queue_rand.ii -quiet -O2
is sufficient.


-- 


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



[Bug middle-end/31116] [4.3 regression] libstdc++ ext/pb_ds/regression/priority_queue_rand.cc

2007-03-09 Thread pinskia at gcc dot gnu dot org


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||pinskia at gcc dot gnu dot
   ||org
   Target Milestone|--- |4.3.0


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



[Bug middle-end/31116] [4.3 regression] libstdc++ ext/pb_ds/regression/priority_queue_rand.cc

2007-03-09 Thread pinskia at gcc dot gnu dot org


--- 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