Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/gcc.dg/graphite/pr81945.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 /* PR tree-optimization/81945 */ | |
2 /* { dg-do compile { target pthread } } */ | |
3 /* { dg-options "-O3 -ftree-parallelize-loops=2 -floop-nest-optimize" } */ | |
4 | |
5 unsigned long int v; | |
6 | |
7 void | |
8 foo (int x, int y, long int *a) | |
9 { | |
10 do | |
11 { | |
12 int **b; | |
13 | |
14 while (y != 0) | |
15 ; | |
16 v *= 2; | |
17 **b = *a; | |
18 ++x; | |
19 } | |
20 while (x < 1); | |
21 } |