[all-commits] [llvm/llvm-project] f9c085: [flang] Check for attributes specific to dummy arg...

Pete Steinfeld via All-commits all-commits at lists.llvm.org
Mon Apr 26 09:28:29 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f9c0859e9687294a3b6b2e797faf4b7ee62c60ce
      https://github.com/llvm/llvm-project/commit/f9c0859e9687294a3b6b2e797faf4b7ee62c60ce
  Author: Peter Steinfeld <psteinfeld at nvidia.com>
  Date:   2021-04-26 (Mon, 26 Apr 2021)

  Changed paths:
    M flang/lib/Semantics/check-declarations.cpp
    M flang/test/Semantics/resolve58.f90
    M flang/test/Semantics/separate-mp02.f90

  Log Message:
  -----------
  [flang] Check for attributes specific to dummy arguments

We were not checking that attributes that are supposed to be specific to
dummy arguments were not being used for local entities.  I added the checks
along with tests for them.

After implementing these new checks, I found that one of the tests in
separate-mp02.f90 was erroneous, and I fixed it.

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




More information about the All-commits mailing list