2018-05-15 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / graphite / pr80906.c
blob59c7f59cadffcc175fbde16c4f83310e2c103131
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -floop-nest-optimize -fdump-tree-graphite" } */
4 int qc;
6 int
7 ec (int lh[][2])
9 const int jv = 3;
10 int zf, hp, c5 = 0, m3 = 1;
12 for (zf = 0; zf < jv; ++zf)
13 for (hp = 0; hp < jv; ++hp)
15 short int bm = 0;
17 for (qc = 0; qc < jv; ++qc)
18 --bm;
19 if (bm != 0)
20 --c5;
21 lh[0][0] = 0;
22 m3 *= jv;
25 return c5 + m3;
28 /* { dg-final { scan-tree-dump "isl AST to Gimple succeeded" "graphite" } } */