[Bug middle-end/34329] New: ICE/segfault with -O2 -msse -ftree-vectorize on very simple code
christophe at saout dot de
gcc-bugzilla@gcc.gnu.org
Mon Dec 3 21:19:00 GMT 2007
gcc -O2 -msse -ftree-vectorize -c broken.c -o broken.o
on the code snippet below gives a "broken.c:4: internal compiler error:
Segmentation fault".
extern int array[2][7][6];
void test(int type, int *eq, int idx)
{
int i;
int v = type ? 0 : 1;
for (i = 0; i < 6; i++)
eq[i] = array[v][idx][i];
}
--
Summary: ICE/segfault with -O2 -msse -ftree-vectorize on very
simple code
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: christophe at saout dot de
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34329
More information about the Gcc-bugs
mailing list