This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/38997] New: -ftree-loop-distribution ICEs
- From: "kazu at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Jan 2009 07:05:48 -0000
- Subject: [Bug tree-optimization/38997] New: -ftree-loop-distribution ICEs
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Consider:
char a[8][8];
char b[8];
void
foo (int i)
{
int j;
for (j = 0; j < 8; j++)
{
a[i][j] = 0;
b[j] = j;
}
}
I get:
$ ./cc1 -quiet -O2 -ftree-loop-distribution min.c
min.c: In function 'foo':
min.c:5: internal compiler error: in build2_stat, at tree.c:3298
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
--
Summary: -ftree-loop-distribution ICEs
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: kazu at gcc dot gnu dot org
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=38997