[all-commits] [llvm/llvm-project] 5a402c: [flang] USE-associated explicit INTRINSIC names (#...
Peter Klausler via All-commits
all-commits at lists.llvm.org
Tue Dec 26 16:03:16 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5a402c56226e9b50bffdedd19d2acb8b61b408a3
https://github.com/llvm/llvm-project/commit/5a402c56226e9b50bffdedd19d2acb8b61b408a3
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2023-12-26 (Tue, 26 Dec 2023)
Changed paths:
M flang/docs/Extensions.md
M flang/lib/Semantics/resolve-names.cpp
M flang/module/iso_fortran_env.f90
M flang/test/Semantics/contiguous01.f90
A flang/test/Semantics/intrinsics02.f90
Log Message:
-----------
[flang] USE-associated explicit INTRINSIC names (#76199)
The compiler doesn't USE-associate names of intrinsic procedures from
modules (in the absence of ONLY:), so that the associating scope doesn't
get populated with names of intrinsics that were used only in
declarations (e.g., SELECTED_REAL_KIND). A recent bug report (below)
shows that we should modify that policy in the case of names that appear
in explicit INTRINSIC attribute statements. The behaviors of other
Fortran compilers are not consistent and the requirements of the
standard are not clear; this fix follows the precedent set by gfortran
and nvfortran.
Fixes https://github.com/llvm/llvm-project/issues/72084.
More information about the All-commits
mailing list