[PATCH] D84702: [flang] Fix bug with intrinsic in type declaration stmt
Peter Klausler via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 27 14:00:45 PDT 2020
klausler added inline comments.
================
Comment at: flang/lib/Semantics/resolve-names.cpp:6092
+ symbol->attrs().set(Attr::INTRINSIC);
+ // 8.2(3): ignore type from intrinsic in type-declaration-stmt
+ symbol->get<ProcEntityDetails>().set_interface(ProcInterface{});
----------------
Can you really ignore the type? Should not `INTEGER :: ASIN` be an error?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D84702/new/
https://reviews.llvm.org/D84702
More information about the llvm-commits
mailing list