comparison gcc/testsuite/gcc.dg/pr87074.c @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents
children
comparison
equal deleted inserted replaced
111:04ced10e8804 131:84e7813d76e9
1 /* { dg-do run } */
2 /* { dg-options "-O3 -floop-unroll-and-jam --param unroll-jam-min-percent=0" } */
3 long b;
4 unsigned c[5];
5 unsigned long long d = 3;
6 int e, f, g;
7
8 void h() {
9 for (; f < 11; f++) {
10 b = g;
11 for (e = 0; e < 5; e++) {
12 c[e] = e - b - (c[e] >> 5);
13 g = c[e];
14 }
15 }
16 if (c[0])
17 d = 0;
18 }
19
20 extern void abort(void);
21 int main() {
22 h();
23 if (d != 0)
24 abort ();
25 }