[Bug tree-optimization/85284] [7/8 Regression] Loop miscompilation starting with r238367
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Apr 8 09:02:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85284
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Slightly more reduced:
static int p[48], v;
int
main ()
{
p[32] = 1;
for (int i = 48; i--;)
{
if (!p[i])
continue;
if ((i & 7) > 2)
break;
v = i & 1;
}
if (v != 0)
__builtin_abort ();
return 0;
}
More information about the Gcc-bugs
mailing list