When I compile the small program below using the actual snapshot
(20050909) I get an ICE. This ICE is new, the snapshot from last week is
working.
Michael Cieslinski
<file tc.i>
int Foo ()
{
int a[16];
int i;
for (i=0; i<sizeof(void*); ++i)
{
int *p;
for (p=a+1; p<a+16; ++p)
*p += p[-1];
}
return a[0];
}
gcc41o -O2 -ftree-vectorize -c tc.i
tc.i: In function 'Foo':
tc.i:2: internal compiler error: in tree_low_cst, at tree.c:4270
Please submit a full bug report, with preprocessed source if appropriate.
gcc41o -v
Using built-in specs.
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc-4.1-20050909/configure --prefix=/usr/local/gcc41o
--program-suffix=41o --with-arch=opteron --enable-languages=c,c++
--enable-checking
Thread model: posix
gcc version 4.1.0 20050909 (experimental)
--
Summary: ICE: in tree_low_cst, at tree.c:4270
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: micis at gmx dot de
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: x86_64-unknown-linux-gnu
GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23853