2015-06-23 Tom de Vries <tom@codesourcery.com>
* testsuite/libgomp.c/parloops-exit-first-loop-alt-3.c (main): Use
abort.
* testsuite/libgomp.c/parloops-exit-first-loop-alt-4.c (main): Same.
From-SVN: r224849
+2015-06-23 Tom de Vries <tom@codesourcery.com>
+
+ * testsuite/libgomp.c/parloops-exit-first-loop-alt-3.c (main): Use
+ abort.
+ * testsuite/libgomp.c/parloops-exit-first-loop-alt-4.c (main): Same.
+
2015-06-19 Thomas Schwinge <thomas@codesourcery.com>
* testsuite/libgomp.oacc-c-c++-common/lib-62.c: Only consider for
/* Variable bound, reduction. */
+#include <stdlib.h>
+
#define N 4000
unsigned int *a;
unsigned int res;
unsigned int array[N];
int i;
+
for (i = 0; i < N; ++i)
array[i] = i % 7;
a = &array[0];
+
res = f (N);
- return !(res == 11995);
+ if (res != 11995)
+ abort ();
+
+ return 0;
}
/* Constant bound, reduction. */
+#include <stdlib.h>
+
#define N 4000
unsigned int *a;
array[i] = i % 7;
a = &array[0];
res = f ();
- return !(res == 11995);
+ if (res != 11995)
+ abort ();
+ return 0;
}