Skip to content

Commit

Permalink
[flang][openacc][NFC] Update _OPENACC definition to 202011
Browse files Browse the repository at this point in the history
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
  • Loading branch information
clementval committed May 11, 2023
1 parent 68b76af commit b10e942
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flang/tools/bbc/bbc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b10e942

Please sign in to comment.