[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
Mon Jun 24 09:02:26 PDT 2024
================
@@ -0,0 +1,110 @@
+!===-- module/__fortran_bultin_kinds.f90 --=--------------------------------===!
----------------
mjklemm wrote:
I have done that already. Thing is: when the context is right, `__build_numeric_storage_size` is immediately folded. However, then compiling `iso_fortran_env.f90`, line 1324-1326 in `fold-integer.cpp` simply leave the evaluation of `__builtin_numeric_storage_size` in the intermediate code, so that the code-gen picks it up and utterly complains about not having code-gen for it. So, I have tried to add that, but that does not seem the right path to me.
https://github.com/llvm/llvm-project/pull/95388
More information about the flang-commits
mailing list