[flang-commits] [flang] [flang][runtime] Build ISO_FORTRAN_ENV to export kind arrays as linkable symbols (PR #95388)

Michael Klemm via flang-commits flang-commits at lists.llvm.org
Tue Jul 2 22:02:20 PDT 2024


================
@@ -0,0 +1,110 @@
+!===-- module/__fortran_bultin_kinds.f90 --=--------------------------------===!
----------------
mjklemm wrote:

That's not needed, if we do the separation like I'm proposing in this PR.  Everything that is compiled into an object file is independent of the relevant compiler options (like `-fdefault-real-8`), while `numeric_storage_size` is left in `iso_fortran_env` that is only treated with `-fsyntax-only`, which resolves the whole issue w/o touching the compiler itself.

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


More information about the flang-commits mailing list