[flang-commits] [flang] [flang] Silence errors on C_LOC/C_FUNLOC in specification expressions (PR #96108)
    via flang-commits 
    flang-commits at lists.llvm.org
       
    Thu Jun 20 12:05:36 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)) ||
----------------
jeanPerier wrote:
Thanks for checking!
https://github.com/llvm/llvm-project/pull/96108
    
    
More information about the flang-commits
mailing list