[flang] Name resolution bug fixes
authorTim Keith <tkeith@nvidia.com>
Mon, 1 Apr 2019 20:08:57 +0000 (13:08 -0700)
committerTim Keith <tkeith@nvidia.com>
Mon, 1 Apr 2019 20:08:57 +0000 (13:08 -0700)
commit68df5ac3a24d4276fe194fc0b6b8185960e18e30
treefdf77c0f068c0c7d1744c6df845094077f852169
parentcf67cbe7248fbeef8034e9fd85a9d9f9d3dd4c90
[flang] Name resolution bug fixes

Fix a but where a derived type was not use-associated correctly
due to missing call to `GetUltimate()`.

Fix a bug with access statement, generic interface, and derived
type all with the same name.

Remove some TODOs that have been done.

Original-commit: flang-compiler/f18@4ba2b64c6d291d04691891535da96f425dda2338
Reviewed-on: https://github.com/flang-compiler/f18/pull/372
flang/lib/semantics/resolve-names.cc
flang/test/semantics/CMakeLists.txt
flang/test/semantics/resolve48.f90 [new file with mode: 0644]