[flang-commits] [flang] [Flang] Add parsing and attribute registration for SIMPLE specifier (PR #161285)
Eugene Epshteyn via flang-commits
flang-commits at lists.llvm.org
Sun Apr 19 10:32:22 PDT 2026
================
----------------
eugeneepshteyn wrote:
Please follow `DEREF` pattern in `IsExplicitlyImpureProcedure()`.
Consider the following:
```
module m
contains
simple subroutine s()
end subroutine
end module
program p
use m
! IsSimpleProcedure on the use-assoc symbol for 's' must return true
end program
```
Please double-check this and add a test for this case.
https://github.com/llvm/llvm-project/pull/161285
More information about the flang-commits
mailing list