[all-commits] [llvm/llvm-project] c75933: [flang] Better error message for RANK(NULL()) (#93...
Peter Klausler via All-commits
all-commits at lists.llvm.org
Mon Jun 3 12:59:01 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c7593344f48e64af29fd9512852f24f9ebe5a4c6
https://github.com/llvm/llvm-project/commit/c7593344f48e64af29fd9512852f24f9ebe5a4c6
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M flang/include/flang/Evaluate/tools.h
M flang/lib/Evaluate/intrinsics.cpp
M flang/lib/Evaluate/tools.cpp
M flang/lib/Lower/Bridge.cpp
M flang/lib/Semantics/data-to-inits.cpp
M flang/lib/Semantics/expression.cpp
M flang/test/Semantics/resolve09.f90
Log Message:
-----------
[flang] Better error message for RANK(NULL()) (#93577)
We currently complain that the argument may not be a procedure, which is
confusing. Distinguish the NULL() case from other error cases (which are
indeed procedures). And clean up the utility predicates used for these
tests -- the current IsProcedure() is really just a test for a procedure
designator.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list