[PATCH] D85763: [flang] Copy attributes and flags onto host-assoc symbols
Tim Keith via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 11 11:03:58 PDT 2020
tskeith created this revision.
tskeith added reviewers: klausler, PeteSteinfeld.
tskeith added a project: Flang.
Herald added a reviewer: jdoerfert.
Herald added a reviewer: DavidTruby.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
tskeith requested review of this revision.
As with use-associated symbols, copy the attributes and flags from the
original symbol onto host-associated symbols when they are created.
This was showing up as an error on a deallocate of a host-associated
name. We reported an error because the symbol didn't have the POINTER
or ALLOCATABLE attribute.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D85763
Files:
flang/lib/Semantics/resolve-names.cpp
flang/test/Semantics/deallocate06.f90
flang/test/Semantics/symbol05.f90
flang/test/Semantics/symbol09.f90
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D85763.284825.patch
Type: text/x-patch
Size: 4512 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200811/d3dae2dd/attachment.bin>
More information about the llvm-commits
mailing list