diff --git a/flang/include/flang/Semantics/semantics.h b/flang/include/flang/Semantics/semantics.h --- a/flang/include/flang/Semantics/semantics.h +++ b/flang/include/flang/Semantics/semantics.h @@ -283,7 +283,7 @@ const Scope *builtinsScope_{nullptr}; // module __Fortran_builtins Scope *ppcBuiltinTypesScope_{nullptr}; // module __Fortran_PPC_types std::optional cudaBuiltinsScope_; // module __CUDA_builtins - const Scope *ppcBuiltinsScope_{nullptr}; // module __Fortran_PPC_intrinsics + const Scope *ppcBuiltinsScope_{nullptr}; // module __ppc_intrinsics std::list modFileParseTrees_; std::unique_ptr commonBlockMap_; bool anyDefinedIntrinsicOperator_{false}; diff --git a/flang/lib/Semantics/semantics.cpp b/flang/lib/Semantics/semantics.cpp --- a/flang/lib/Semantics/semantics.cpp +++ b/flang/lib/Semantics/semantics.cpp @@ -519,7 +519,7 @@ // Don't try to read the builtins module when we're actually building it. } else if (frontModule && std::get>(frontModule->value().t) - .statement.v.source == "__fortran_ppc_intrinsics") { + .statement.v.source == "__ppc_intrinsics") { // The derived type definition for the vectors is needed. context_.UsePPCBuiltinTypesModule(); } else {