[flang-commits] [flang] b10e942 - [flang][openacc][NFC] Update _OPENACC definition to 202011

Valentin Clement via flang-commits flang-commits at lists.llvm.org
Thu May 11 15:20:50 PDT 2023


Author: Valentin Clement
Date: 2023-05-11T15:20:44-07:00
New Revision: b10e9427b96e6bfb242853e9e8cfbb5031890a89

URL: https://github.com/llvm/llvm-project/commit/b10e9427b96e6bfb242853e9e8cfbb5031890a89
DIFF: https://github.com/llvm/llvm-project/commit/b10e9427b96e6bfb242853e9e8cfbb5031890a89.diff

LOG: [flang][openacc][NFC] Update _OPENACC definition to 202011

Update _OPENACC definition to be consistent with the flang-new
driver. Currently set to 202011 which is OpenACC 3.1 specification and
is the current parser/semantic status.

Reviewed By: razvanlupusoru

Differential Revision: https://reviews.llvm.org/D150400

Added: 
    

Modified: 
    flang/tools/bbc/bbc.cpp

Removed: 
    


################################################################################
diff  --git a/flang/tools/bbc/bbc.cpp b/flang/tools/bbc/bbc.cpp
index e9cf208ea03ed..dcb37043e6eb7 100644
--- a/flang/tools/bbc/bbc.cpp
+++ b/flang/tools/bbc/bbc.cpp
@@ -375,7 +375,7 @@ int main(int argc, char **argv) {
   // enable parsing of OpenACC
   if (enableOpenACC) {
     options.features.Enable(Fortran::common::LanguageFeature::OpenACC);
-    options.predefinitions.emplace_back("_OPENACC", "201911");
+    options.predefinitions.emplace_back("_OPENACC", "202011");
   }
 
   Fortran::common::IntrinsicTypeDefaultKinds defaultKinds;


        


More information about the flang-commits mailing list