[all-commits] [llvm/llvm-project] b0cea8: [flang] Allow redudant attributes on use-/host- as...
Peter Klausler via All-commits
all-commits at lists.llvm.org
Thu May 18 12:07:39 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b0cea8941cab913d9a811ac5331ae63a22ada03f
https://github.com/llvm/llvm-project/commit/b0cea8941cab913d9a811ac5331ae63a22ada03f
Author: Peter Klausler <pklausler at nvidia.com>
Date: 2023-05-18 (Thu, 18 May 2023)
Changed paths:
M flang/lib/Semantics/resolve-names.cpp
A flang/test/Semantics/resolve119.f90
Log Message:
-----------
[flang] Allow redudant attributes on use-/host- associated names
Constraint C815 in F'2018 allows a name to acquire an attribute at
most once per scope. For some attributes, the attribute may have
already been inherited, and the compiler was emitting a bogus error
message for a redundant application of the same attribute in another
scope.
Fixes https://github.com/llvm/llvm-project/issues/60274
Differential Revision: https://reviews.llvm.org/D150819
More information about the All-commits
mailing list