llvm/flang/lib
Tim Keith 5e65aaa921 [flang] Fix .mod file bug with IMPORT of USEd name
If a symbol (derived type, for example) was use-associated into a scope
and then imported into a nested interface block, we were not including
the correct IMPORT statement in the .mod file.

This fixes refines the test for when the IMPORT is needed.

Fixes flang-compiler/f18#657.

Original-commit: flang-compiler/f18@8383de47ec
Reviewed-on: https://github.com/flang-compiler/f18/pull/675
Tree-same-pre-rewrite: false
2019-08-23 07:14:55 -07:00
..
common [flang] Another pass with clean builds 2019-08-16 09:41:08 -07:00
evaluate [flang] Use value semantic for SourceName 2019-08-21 05:33:03 -07:00
parser [flang] [OpenMP] miscellaneous parse tree updates (flang-compiler/f18#673) 2019-08-23 09:45:03 -07:00
semantics [flang] Fix .mod file bug with IMPORT of USEd name 2019-08-23 07:14:55 -07:00
CMakeLists.txt [flang] remove FIR 2019-06-07 10:20:15 -07:00