Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.c-torture/compile/20160802-1.c @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
long g (long width, unsigned long byte) { long r_hi = 0; unsigned long r_lo = 0; int s; for (s = 0; s < width; s += 8) { int d = width - s - 8; if (s < (8 * 8)) r_hi |= byte << (d - (8 * 8)); } return r_lo + r_hi; }