testsuite: i386: adapt to -std=gnu23 default change
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / pr30338.c
blob2d6245d014d9c51afcd6881027103c2352fbcbd5
1 /* We used to do folding with mismatched types which caused us to
2 infinitely loop in comparison foldings. */
4 extern char *grub_scratch_mem;
5 int testload_func (char *arg, int flags)
7 int i;
8 for (i = 0; i < 0x10ac0; i++)
9 if (*((unsigned char *) ((0x200000 + i + (int) grub_scratch_mem)))
10 != *((unsigned char *) ((0x300000 + i + (int) grub_scratch_mem))))
11 return 0;
12 return 1;