[flang] Handle VOLATILE or ASYNCHRONOUS added to use-associated entity
authorTim Keith <tkeith@nvidia.com>
Tue, 17 Jul 2018 13:39:38 +0000 (06:39 -0700)
committerTim Keith <tkeith@nvidia.com>
Tue, 17 Jul 2018 13:39:38 +0000 (06:39 -0700)
commit3c77458b33d2194c09aa47963179720d175e0633
tree8bac28db840688ed4057fecdd3884f847d3e36da
parent5934a01c58bd8d6309860f560438c307f47dcb95
[flang] Handle VOLATILE or ASYNCHRONOUS added to use-associated entity

When a symbol is use-associated, the VOLATILE and ASYNCHRONOUS
attributes can be added. When that happens it must be recorded
in the .mod file.

Original-commit: flang-compiler/f18@44fa9e5ba4172f75abe4194e7f58b26a99646cdc
Reviewed-on: https://github.com/flang-compiler/f18/pull/126
flang/lib/semantics/mod-file.cc
flang/test/semantics/CMakeLists.txt
flang/test/semantics/modfile05.f90 [new file with mode: 0644]