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/31034] [4.3 Regression] ICE in set_value_range, at tree-vrp.c:267



------- Comment #3 from rguenth at gcc dot gnu dot org  2007-03-04 12:45 -------
More reduced testcase:

static inline int
mod (int a, int n)
{
  return a >= n ? a % n : a >= 0 ? a : n - 1 - (-1 - a) % n;
}
void dpara(int);
void opticurve (int m)
{
  int i;
  for (i = 0; i < m; i++)
    {
        dpara(mod (i - 1, m));
    }
}


-- 


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


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