[flang-commits] [flang] [flang] Remove a warning about standards-conforming generic function references (PR #178088)

Peter Klausler via flang-commits flang-commits at lists.llvm.org
Tue Jan 27 13:00:04 PST 2026


================
@@ -3061,11 +3061,6 @@ auto ExpressionAnalyzer::ResolveGeneric(const Symbol &symbol,
         Warn(common::LanguageFeature::AmbiguousStructureConstructor,
             "Reference to the intrinsic function '%s' is ambiguous with a structure constructor of the same name"_port_en_US,
             symbol.name());
-      } else {
----------------
klausler wrote:

Why not remove this entire section of code (starting at line 3020), and also the declaration of `common::LanguageFeature::AmbiguousStructureConstructor`?  Isn't it all dead code now?

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


More information about the flang-commits mailing list