[flang] Inner INTRINSIC must not shadow host generic
A generic interface (however spelled) can have the same name as an intrinsic procedure in the same scope. When an explicit INTRINSIC attribute statement appears in a nested scope, semantics was unconditionally declaring a new symbol that hid the generic entirely. Catch this case and create instead a host association symbol for the generic that can then be decorated with the INTRINSIC attribute. Differential Revision: https://reviews.llvm.org/D123718
Loading
Please sign in to comment