[flang-commits] [flang] [flang] Add new warnings for unused & undefined locals (PR #173504)
Eugene Epshteyn via flang-commits
flang-commits at lists.llvm.org
Thu Dec 25 21:14:27 PST 2025
================
@@ -566,7 +566,6 @@ bool AllocationCheckerHelper::RunChecks(SemanticsContext &context) {
*type_, allocateInfo_.sourceExprType.value())) { // F'2023 C950
context.Warn(common::LanguageFeature::AllocateToOtherLength, name_.source,
"Character length of allocatable object in ALLOCATE should be the same as the SOURCE or MOLD"_port_en_US);
- return false;
----------------
eugeneepshteyn wrote:
Was this removed on purpose?
https://github.com/llvm/llvm-project/pull/173504
More information about the flang-commits
mailing list