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 middle-end/30338] [4.3 Regression] infinite loop in maybe_canonicalize_comparison



------- Comment #4 from rguenth at gcc dot gnu dot org  2006-12-31 12:28 -------
Reduced testcase:

extern char *grub_scratch_mem;
int testload_func (char *arg, int flags)
{
  int i;
  for (i = 0; i < 0x10ac0; i++)
    if (*((unsigned char *) ((0x200000 + i) + (int) grub_scratch_mem))
        != *((unsigned char *) ((0x300000 + i) + (int) grub_scratch_mem)))
      return 0;
  return 1;
}


-- 


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


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