[flang-commits] [flang] [flang] Fix non-portable TYPE(*) usage in generic (PR #176235)

Peter Klausler via flang-commits flang-commits at lists.llvm.org
Thu Jan 15 14:40:44 PST 2026


================
@@ -3160,7 +3163,7 @@ void ExpressionAnalyzer::EmitGenericResolutionError(const Symbol &symbol,
                   /*allocActualArgumentConversions=*/false,
                   /*extentErrors=*/false,
                   /*ignoreImplicitVsExplicit=*/false)};
-              !reasons.empty()) {
+              reasons.AnyFatalError()) {
----------------
klausler wrote:

No, not really.  For the case that I debugged, it was for a while emitting my new portability warning.

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


More information about the flang-commits mailing list