[flang-commits] [flang] [Flang] Add partial support for lowering procedure pointer assignment. (PR #70461)

Daniel Chen via flang-commits flang-commits at lists.llvm.org
Fri Nov 10 11:22:03 PST 2023


DanielCChen wrote:

@jeanPerier 
The 3rd commit (2ae4a0aa6bd1dbef62fd10ae388cd179acfd76a0) addressed the following review comments:
1. procedure pointer is using the "true" declaration type for creating a BoxProcType.
2. procedure pointer can be initialized to a procedure or a reference to NULL().
3. procedure pointer assignment can have a procedure pointer target.
4. the definition of a function that returns a procedure pointer (not reference).

TODO:
1. Argument passing only supports procedure pointer actual to procedure pointer dummy at the moment. I am working on an update to support procedure actual to procedure pointer dummy and procedure pointer actual to procedure dummy.
2. Other procedure pointer TODOs.

Note: 
Reference to a function that returns a procedure pointer (argument passing, pointer assignment and etc) may be in a separate PR.

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


More information about the flang-commits mailing list