This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/48098] internal compiler error: in build_vector_from_val, at tree.c:1380


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]