[Openmp-dev] FAIL: libomp :: threadprivate/omp_threadprivate_for.c (28 of 67)

Jack Howarth via Openmp-dev openmp-dev at lists.llvm.org
Fri Dec 25 16:46:14 PST 2015


    At r256430, the libomp test suite on x86_64-apple-darwin15 is
showing a new regression...

FAIL: libomp :: threadprivate/omp_threadprivate_for.c (28 of 67)
******************** TEST 'libomp ::
threadprivate/omp_threadprivate_for.c' FAILED ********************
Script:
--
gtimeout 1m  /sw/src/fink.build/llvm38-3.8.0-1/build/stage3/./bin/clang
-fopenmp=libomp -I
/sw/src/fink.build/llvm38-3.8.0-1/llvm-3.8.0.src/projects/openmp/runtime/test
-I /sw/src/fink.build/llvm38-3.8.0-1/build/stage3/projects/openmp/runtime/src
-L /sw/src/fink.build/llvm38-3.8.0-1/build/stage3/lib
-Wl,-rpath,/sw/src/fink.build/llvm38-3.8.0-1/build/stage3/lib
/sw/src/fink.build/llvm38-3.8.0-1/openmp-3.8.0.src/runtime/test/threadprivate/omp_threadprivate_for.c
-o /sw/src/fink.build/llvm38-3.8.0-1/build/stage3/projects/openmp/runtime/test/threadprivate/Output/omp_threadprivate_for.c.tmp
-lm && /sw/src/fink.build/llvm38-3.8.0-1/build/stage3/projects/openmp/runtime/test/threadprivate/Output/omp_threadprivate_for.c.tmp
--
Exit Code: 1

Command Output (stdout):
--
Command 0: "gtimeout" "1m"
"/sw/src/fink.build/llvm38-3.8.0-1/build/stage3/./bin/clang"
"-fopenmp=libomp" "-I"
"/sw/src/fink.build/llvm38-3.8.0-1/llvm-3.8.0.src/projects/openmp/runtime/test"
"-I" "/sw/src/fink.build/llvm38-3.8.0-1/build/stage3/projects/openmp/runtime/src"
"-L" "/sw/src/fink.build/llvm38-3.8.0-1/build/stage3/lib"
"-Wl,-rpath,/sw/src/fink.build/llvm38-3.8.0-1/build/stage3/lib"
"/sw/src/fink.build/llvm38-3.8.0-1/openmp-3.8.0.src/runtime/test/threadprivate/omp_threadprivate_for.c"
"-o" "/sw/src/fink.build/llvm38-3.8.0-1/build/stage3/projects/openmp/runtime/test/threadprivate/Output/omp_threadprivate_for.c.tmp"
"-lm"
Command 0 Result: 1
Command 0 Output:


Command 0 Stderr:
/sw/src/fink.build/llvm38-3.8.0-1/openmp-3.8.0.src/runtime/test/threadprivate/omp_threadprivate_for.c:21:10:
error: loop iteration variable in the associated loop of 'omp for'
directive may not be threadprivate or thread local, predetermined as
private
    for (i = 1; i <= LOOPCOUNT; i++) {
         ^
/sw/src/fink.build/llvm38-3.8.0-1/openmp-3.8.0.src/runtime/test/threadprivate/omp_threadprivate_for.c:7:27:
note: defined as threadprivate or thread local
#pragma omp threadprivate(i)
                          ^
1 error generated.



--

********************

which I assume is due to the recent commit of...

r256417 | abataev | 2015-12-25 08:38:08 -0500 (Fri, 25 Dec 2015) | 3 lines

[OPENMP] Do not allow to use threadprivate or thread local variables
as loop iteration variables.
According to OpenMP the loop iteration variable may not appear in a
threadprivate directive.


More information about the Openmp-dev mailing list