Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.c-torture/compile/pr32349.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
/* { dg-options "-fmodulo-sched" } */ extern long *x1, *x2, *x3; int foo () { /* Switching the following two lines prevents the ICE. */ long *p1, *p2; long m, n, i; p1 = x1; p2 = x2; n = 0; for (i = *x3; 0 < i; i--) { m = (*p1++) ^ (*p2++); m = (m & 0x55555555) + ((m >> 1) & 0x55555555); m = (m & 0x33333333) + ((m >> 2) & 0x33333333); m = (m + (m >> 4)) & 0x0f0f0f0f; m = (m + (m >> 8)); n += m; } return n; }