[flang-commits] [flang] [flang] Do not leak intrinsics used by ISO_C_BINDING and ISO_FORTRAN_ENV (PR #79006)

Rafik Zurob via flang-commits flang-commits at lists.llvm.org
Mon Jan 22 09:02:50 PST 2024


================
@@ -22,6 +22,12 @@ module iso_c_binding
     c_sizeof => sizeof, &
     operator(==), operator(/=)
 
+  implicit none
+
----------------
rzurob wrote:

It might be better to add the `private` statement on line 26 so that everything is private and then add explicit `public` statements for the things you want to be public.  This way, future additions don't leak by default.

https://github.com/llvm/llvm-project/pull/79006


More information about the flang-commits mailing list