[all-commits] [llvm/llvm-project] d66463: [flang] Copy attributes and flags onto host-assoc ...

Tim Keith via All-commits all-commits at lists.llvm.org
Mon Aug 17 07:00:30 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: d66463eedc5035a4ea4c6085e55405465cca6796
      https://github.com/llvm/llvm-project/commit/d66463eedc5035a4ea4c6085e55405465cca6796
  Author: Tim Keith <tkeith at nvidia.com>
  Date:   2020-08-17 (Mon, 17 Aug 2020)

  Changed paths:
    M flang/lib/Semantics/resolve-names.cpp
    A flang/test/Semantics/deallocate06.f90
    M flang/test/Semantics/symbol05.f90
    M flang/test/Semantics/symbol09.f90

  Log Message:
  -----------
  [flang] Copy attributes and flags onto host-assoc symbols

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.

Differential Revision: https://reviews.llvm.org/D85763




More information about the All-commits mailing list