llvm-project/flang/lib
Peter Steinfeld 9168a0f515 [flang] Fix bogus message on index-names in the presence of associated entities
The semantic analysis of index-names of FORALL statements looks up symbols with
the same name as the index-name.  This is needed to exclude symbols that are
not objects.  But if the symbol found is host-, use-, or construct-associated
with another entity, the check fails.

I fixed this by getting the root symbol of the symbol found and doing the check
on the root symbol.  This required creating a non-const version of
"GetAssociationRoot()".

Differential Revision: https://reviews.llvm.org/D92970
2020-12-10 07:36:41 -08:00
..
Common [flang] Use the Flang cmake-functions to add targets. 2020-04-16 15:51:30 +01:00
Decimal [flang] Readability improvement in binary->decimal conversion 2020-10-01 15:49:27 -07:00
Evaluate [flang] Fix bogus message on index-names in the presence of associated entities 2020-12-10 07:36:41 -08:00
Frontend [Flang][Driver] Add PrintPreprocessedInput FrontendAction (`flang-new -E`) 2020-11-02 14:03:35 +00:00
FrontendTool [Flang][Driver] Add PrintPreprocessedInput FrontendAction (`flang-new -E`) 2020-11-02 14:03:35 +00:00
Lower [flang][openacc] Add clause validity tests for the update directive 2020-12-08 10:47:06 -05:00
Optimizer [mlir][BuiltinDialect] Resolve comments from D91571 2020-11-19 11:12:49 -08:00
Parser [flang][openacc] Update reference to OpenACC 3.1 specification 2020-12-08 14:36:38 -05:00
Semantics [flang] Fix bogus message on index-names in the presence of associated entities 2020-12-10 07:36:41 -08:00
CMakeLists.txt [flang][driver] Add the new flang compiler and frontend drivers 2020-09-11 10:55:54 +01:00