Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.c-torture/compile/20070827-1.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 /* PR rtl-optimization/33148 */ |
2 | |
3 int | |
4 foo (unsigned int *p, int *q, unsigned int w, unsigned int b) | |
5 { | |
6 unsigned int i; | |
7 int mask; | |
8 | |
9 if (q[0] < q[1]) | |
10 mask = 0xff; | |
11 else | |
12 mask = 0; | |
13 | |
14 for (i = 0; 8 * i < w; i++) | |
15 { | |
16 b ^= mask; | |
17 *p++ = b; | |
18 } | |
19 return 0; | |
20 } |