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/51760] [4.7 Regression] ICE in set_lattice_value, at tree-ssa-ccp.c:456


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

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-01-05 11:41:56 UTC ---
Reduced testcase:

extern inline __attribute__ ((always_inline)) void *
memmove (void *dest, const void *src, __SIZE_TYPE__ len)
{
  return __builtin___memmove_chk (dest, src, len, __builtin_object_size (dest,
0));
}

void
foo (void)
{
  char a[64], *b;
  for (;;)
    {
      memmove (a, b, 0);
      b = a;
    }
}


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