Hi,

minor nit:
--- libgomp/testsuite/libgomp.c++/task-8.C      (revision 0)
+++ libgomp/testsuite/libgomp.c++/task-8.C      (revision 0)
@@ -0,0 +1,44 @@
+// { dg-do run }
+
+#include<omp.h>
+#include<cstdlib>
+  #pragma omp atomic read
+    e = err;
+  if (e)
+    abort ();
if you include <cstdlib> (vs <stdlib.h>), I think it would make much more sense using std::abort: abort in the global namespace isn't portable.

Paolo.

Reply via email to