diff options
author | Alexey Bataev <a.bataev@hotmail.com> | 2015-05-20 04:24:19 +0000 |
---|---|---|
committer | Alexey Bataev <a.bataev@hotmail.com> | 2015-05-20 04:24:19 +0000 |
commit | db39021ceebbd311125785d407402b74ec668528 (patch) | |
tree | 6a1a9692eb1269740cf03e7ebf02f9d5626dd4cb /clang/test/OpenMP/nesting_of_regions.cpp | |
parent | 16dc7b68c4d90cd3abac7015c27030f3d6c710f9 (diff) | |
download | bcm5719-llvm-db39021ceebbd311125785d407402b74ec668528.tar.gz bcm5719-llvm-db39021ceebbd311125785d407402b74ec668528.zip |
[OPENMP] -fopenmp enables OpenMP support (fix for http://llvm.org/PR23492)
-fopenmp turns on OpenMP support and links libiomp5 as OpenMP library. Also there is -fopenmp={libiomp5|libgomp} option that allows to override effect of -fopenmp and link libgomp library (if -fopenmp=libgomp is specified).
Differential Revision: http://reviews.llvm.org/D9736
llvm-svn: 237769
Diffstat (limited to 'clang/test/OpenMP/nesting_of_regions.cpp')
-rw-r--r-- | clang/test/OpenMP/nesting_of_regions.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/OpenMP/nesting_of_regions.cpp b/clang/test/OpenMP/nesting_of_regions.cpp index dd81f88c3e4..8a3bacf0f11 100644 --- a/clang/test/OpenMP/nesting_of_regions.cpp +++ b/clang/test/OpenMP/nesting_of_regions.cpp @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -fsyntax-only -fopenmp=libiomp5 -verify %s +// RUN: %clang_cc1 -fsyntax-only -fopenmp -verify %s void bar(); |