This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/48098] internal compiler error: in build_vector_from_val, at tree.c:1380
- From: "schnetter at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 12 Mar 2011 23:30:46 +0000
- Subject: [Bug tree-optimization/48098] internal compiler error: in build_vector_from_val, at tree.c:1380
- Auto-submitted: auto-generated
- References: <bug-48098-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48098
--- Comment #1 from Erik Schnetter <schnetter at gmail dot com> 2011-03-12 23:30:41 UTC ---
Here is a reduced test case:
void BndRot180VI ()
{
static char *restrict * slab_setups;
static int num_slab_setups = 0;
num_slab_setups = GetRefinementLevels (0);
slab_setups = malloc (num_slab_setups);
for (int rl=0; rl<num_slab_setups; ++rl) {
slab_setups[rl] = 0;
}
}