comparison gcc/testsuite/gcc.dg/graphite/pr83385.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 "-O1 -floop-nest-optimize" } */
3
4 int xc, n1 = 0;
5 int bx[2];
6
7 int
8 main (void)
9 {
10 int aj = 1;
11 int cs;
12
13 for (cs = aj; cs >= 0; --cs)
14 {
15 int sq;
16
17 for (sq = 0; sq < 2; ++sq)
18 {
19 if (aj != 0)
20 --n1;
21
22 for (xc = 0; xc < 2; ++xc)
23 bx[xc] = 0;
24 }
25
26 --aj;
27 }
28
29 if (n1 != -2)
30 __builtin_abort ();
31 return 0;
32 }