llvm/flang/test/semantics
Tim Keith 744427238c [flang] Rewrite function calls to array element references
parse-tree.h, parse-tree.cc:
Add FunctionReference::ConvertToArrayElementRef() to convert a function
reference to an array element reference.
Factor out MakeArrayElementRef() to use in ConvertToArrayElementRef()
and also in converting statement functions to array element assignments.

resolve-names.cc:
Recognize references to functions and subroutines and add symbols for them.
Detect declaration conflicts from these and check `IMPLICIT NONE(EXTERNAL)`.

rewrite-parse-tree.cc:
Find function references that need to be converted and rewrite them.

Original-commit: flang-compiler/f18@e5a1e0aaef
Reviewed-on: https://github.com/flang-compiler/f18/pull/65
2018-04-23 12:46:56 -07:00
..
implicit01.f90 [flang] Continue work on name resolution. 2018-04-11 13:13:14 -07:00
implicit02.f90 [flang] Continue work on name resolution. 2018-04-11 13:13:14 -07:00
implicit03.f90 [flang] Continue work on name resolution. 2018-04-11 13:13:14 -07:00
implicit04.f90 [flang] Continue work on name resolution. 2018-04-11 13:13:14 -07:00
implicit05.f90 [flang] Continue work on name resolution. 2018-04-11 13:13:14 -07:00
implicit06.f90 [flang] Continue work on name resolution. 2018-04-11 13:13:14 -07:00
implicit07.f90 [flang] Rewrite function calls to array element references 2018-04-23 12:46:56 -07:00
resolve01.f90 [flang] Resolve array specifications of entities. 2018-04-12 12:59:42 -07:00
resolve02.f90 [flang] Continue work on name resolution. 2018-04-11 13:13:14 -07:00
resolve03.f90 [flang] Continue work on name resolution. 2018-04-11 13:13:14 -07:00
resolve04.f90 [flang] Continue work on name resolution. 2018-04-11 13:13:14 -07:00
resolve05.f90 [flang] Continue work on name resolution. 2018-04-11 13:13:14 -07:00
resolve06.f90 [flang] Continue work on name resolution. 2018-04-11 13:13:14 -07:00
resolve07.f90 [flang] Resolve array specifications of entities. 2018-04-12 12:59:42 -07:00
resolve08.f90 [flang] Implement parse tree rewriting. 2018-04-18 15:06:35 -07:00
resolve09.f90 [flang] Rewrite function calls to array element references 2018-04-23 12:46:56 -07:00