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/52073] [4.7 Regression] ICE: vector VEC(vec_void_p,base) index domain error, in vinfo_for_stmt at tree-vectorizer.h:620


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52073

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-01-31 22:24:16 UTC ---
Reduced testcase:

int a, b, c, d, e, f;

void
foo (int x)
{
  e = 1;
  for (;;)
    {
      int g = c;
      if (x)
    {
      if (e)
        continue;
      while (a)
        --f;
    }
      else
    for (b = 5; b; b--)
      {
        d = g;
        g = 0 == d;
      }
      if (!g)
    x = 0;
    }
}


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