Files
clang-p2996/polly/test/CodeGen/single_do_loop_one_iteration.c
Tobias Grosser 758053788b Add initial version of Polly
This version is equivalent to commit ba26ebece8f5be84e9bd6315611d412af797147e
in the old git repository.

llvm-svn: 130476
2011-04-29 06:27:02 +00:00

26 lines
247 B
C

#define N 20
#include "limits.h"
int main () {
int i;
int A[N];
A[0] = 1;
__sync_synchronize();
i = 0;
do {
A[0] = 0;
++i;
} while (i < 1);
__sync_synchronize();
if (A[0] == 0)
return 0;
else
return 1;
}