[flang-commits] [flang] [flang] Do not leak intrinsics used by ISO_C_BINDING and ISO_FORTRAN_ENV (PR #79006)
Michael Klemm via flang-commits
flang-commits at lists.llvm.org
Mon Jan 22 11:11:55 PST 2024
================
@@ -22,15 +22,32 @@ module iso_c_binding
c_sizeof => sizeof, &
operator(==), operator(/=)
+ implicit none
+
+ ! Set PRIVATE by default to explicitly only export what is meant
+ ! to be exported by this MODULE.
+ private
+
+ public :: c_associated, &
----------------
mjklemm wrote:
Fixed.
https://github.com/llvm/llvm-project/pull/79006
More information about the flang-commits
mailing list