commit | db39021ceebbd311125785d407402b74ec668528 | [log] [tgz] |
---|---|---|
author | Alexey Bataev <a.bataev@hotmail.com> | Wed May 20 04:24:19 2015 +0000 |
committer | Alexey Bataev <a.bataev@hotmail.com> | Wed May 20 04:24:19 2015 +0000 |
tree | 6a1a9692eb1269740cf03e7ebf02f9d5626dd4cb | |
parent | 16dc7b68c4d90cd3abac7015c27030f3d6c710f9 [diff] [blame] |
[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
diff --git a/clang/test/OpenMP/parallel_sections_shared_messages.cpp b/clang/test/OpenMP/parallel_sections_shared_messages.cpp index 0f7a147..2b83597 100644 --- a/clang/test/OpenMP/parallel_sections_shared_messages.cpp +++ b/clang/test/OpenMP/parallel_sections_shared_messages.cpp
@@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -verify -fopenmp=libiomp5 -ferror-limit 100 %s +// RUN: %clang_cc1 -verify -fopenmp -ferror-limit 100 %s void foo() { }