[flang-commits] [flang] [flang] Silence errors on C_LOC/C_FUNLOC in specification expressions (PR #96108)
Peter Klausler via flang-commits
flang-commits at lists.llvm.org
Thu Jun 20 12:01:39 PDT 2024
================
@@ -82,6 +82,8 @@ auto IsVariableHelper::operator()(const Symbol &symbol) const -> Result {
const Symbol &ultimate{symbol.GetUltimate()};
return !IsNamedConstant(ultimate) &&
(ultimate.has<semantics::ObjectEntityDetails>() ||
+ (ultimate.has<semantics::EntityDetails>() &&
+ ultimate.attrs().test(semantics::Attr::TARGET)) ||
----------------
klausler wrote:
yes, it's an error now.
https://github.com/llvm/llvm-project/pull/96108
More information about the flang-commits
mailing list