[flang-commits] [flang] [flang] Remove double pointer indirection for _QQEnvironmentDefaults (PR #90615)

Tom Eccles via flang-commits flang-commits at lists.llvm.org
Tue Apr 30 07:44:23 PDT 2024


================
@@ -360,10 +360,11 @@ class FirConverter : public Fortran::lower::AbstractConverter {
         // not need to be generated even if no defaults are specified.
         // However, generating main or changing when the runtime reads
         // environment variables is required to do so.
-        auto env = fir::runtime::genEnvironmentDefaults(
-            *builder, toLocation(), bridge.getEnvironmentDefaults());
+        // auto env = fir::runtime::genEnvironmentDefaults(
+        //    *builder, toLocation(), bridge.getEnvironmentDefaults());
----------------
tblah wrote:

nit

https://github.com/llvm/llvm-project/pull/90615


More information about the flang-commits mailing list