This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/30338] [4.3 Regression] infinite loop in maybe_canonicalize_comparison
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 Dec 2006 12:28:41 -0000
- Subject: [Bug middle-end/30338] [4.3 Regression] infinite loop in maybe_canonicalize_comparison
- References: <bug-30338-9596@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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