llvm/flang/test
Tim Keith dded0e4bb2 [flang] Correctly resolve generics with forward references
When a procedure is included by name in a generic (either with a
procedure statement in a generic interface or with a generic statement)
we can't immediately resolve it to a subprogram symbol. That is because
the subprogram may be defined later in the specification part. Instead,
collect the names (and whether they should be module procedures) and
resolve them to symbols at the end of the specification part. Also
detect duplicate names then.

This is needed for module file reading as these forward references can
occur there.

Write generics to module file using generic statements. This allows us to
include the access-spec.

Original-commit: flang-compiler/f18@d11d002084
Reviewed-on: https://github.com/flang-compiler/f18/pull/132
2018-07-20 10:46:11 -07:00
..
evaluate [flang] Address issue#125, flang-compiler/f18#115, and improve error recovery on previous issues. 2018-07-19 09:54:21 -07:00
semantics [flang] Correctly resolve generics with forward references 2018-07-20 10:46:11 -07:00
CMakeLists.txt