[flang-commits] [flang] [flang] Add new warnings for unused & undefined locals (PR #173504)

Eugene Epshteyn via flang-commits flang-commits at lists.llvm.org
Wed Dec 24 20:13:54 PST 2025


================
@@ -464,6 +464,13 @@ evaluate::Expr<evaluate::SubscriptInteger> AnalyzeKindSelector(
     SemanticsContext &, common::TypeCategory,
     const std::optional<parser::KindSelector> &);
 
+void NoteUsedSymbols(SemanticsContext &, const SomeExpr &);
----------------
eugeneepshteyn wrote:

What about COMMON, EQUIVALENCE, and ALLOCATE with SOURCE=, MOVE_ALLOC, I/O, STAT= variable?

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


More information about the flang-commits mailing list