[flang-commits] [flang] d756f8a - [flang][openacc] Remove unused variable

Valentin Clement via flang-commits flang-commits at lists.llvm.org
Mon May 1 16:24:30 PDT 2023


Author: Valentin Clement
Date: 2023-05-01T16:24:22-07:00
New Revision: d756f8a38a86cb3f8bfd2641e5f870bf86ff42a0

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

LOG: [flang][openacc] Remove unused variable

Fix buildbot failure after landing D149385

Added: 
    

Modified: 
    flang/lib/Lower/OpenACC.cpp

Removed: 
    


################################################################################
diff  --git a/flang/lib/Lower/OpenACC.cpp b/flang/lib/Lower/OpenACC.cpp
index 3f958313f9fc..092cdb282360 100644
--- a/flang/lib/Lower/OpenACC.cpp
+++ b/flang/lib/Lower/OpenACC.cpp
@@ -334,7 +334,6 @@ genDataOperandOperations(const Fortran::parser::AccObjectList &objectList,
                   const auto *dataRef =
                       std::get_if<Fortran::parser::DataRef>(&designator.u);
                   mlir::Value addr;
-                  mlir::Value baseAddr;
                   std::stringstream asFortran;
                   fir::ExtendedValue dataExv;
                   if (Fortran::parser::Unwrap<


        


More information about the flang-commits mailing list