[flang-commits] [flang] bfe390c - [Flang] funderscoring intermittent failure fix

Mark Danial via flang-commits flang-commits at lists.llvm.org
Mon Aug 21 11:44:41 PDT 2023


Author: Mark Danial
Date: 2023-08-21T14:42:33-04:00
New Revision: bfe390cf9aa61c2d8487c79fc0fa87cc17014313

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

LOG: [Flang] funderscoring intermittent failure fix

There is an intermittent failure in the tests for the funderscoring driver option reported in (https://lab.llvm.org/buildbot/#/builders/21/builds/78228) that is caused by an uninitialized member variable.

Reviewed By: kkwli0

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

Added: 
    

Modified: 
    flang/lib/Optimizer/Transforms/ExternalNameConversion.cpp

Removed: 
    


################################################################################
diff  --git a/flang/lib/Optimizer/Transforms/ExternalNameConversion.cpp b/flang/lib/Optimizer/Transforms/ExternalNameConversion.cpp
index f128a8a52ddd89..67756766fb355b 100644
--- a/flang/lib/Optimizer/Transforms/ExternalNameConversion.cpp
+++ b/flang/lib/Optimizer/Transforms/ExternalNameConversion.cpp
@@ -165,7 +165,7 @@ class ExternalNameConversionPass
 
 private:
   bool appendUnderscores;
-  bool usePassOpt;
+  bool usePassOpt = false;
 };
 } // namespace
 


        


More information about the flang-commits mailing list