comparison gcc/testsuite/gcc.dg/graphite/pr83277.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 "-O2 -floop-nest-optimize" } */
3
4 int rk, si = 0;
5 int jr[2];
6
7 int
8 wv (signed char n8)
9 {
10 const int tw = 8;
11 int xq[tw];
12 int bj, pu = 0;
13
14 for (bj = 0; bj < tw; ++bj)
15 xq[bj] = 0;
16
17 bj = 0;
18 while (bj < 1)
19 {
20 int gs = n8 ^ 128;
21
22 if (gs != 0)
23 {
24 int u7[3];
25
26 while (bj < 2)
27 {
28 u7[bj] = 0;
29 ++bj;
30 }
31
32 jr[0] = u7[0];
33 rk = xq[0];
34 pu = n8;
35
36 if (si != 0)
37 return si;
38 }
39 }
40
41 return pu;
42 }
43
44 int
45 main (void)
46 {
47 signed char ax = 1;
48
49 if (wv (ax) != ax)
50 __builtin_abort ();
51 return 0;
52 }