[flang-commits] [flang] [flang][WIP] Refactor ISO_FORTRAN_ENV to move kind arrays to global symbols (PR #89416)

Michael Klemm via flang-commits flang-commits at lists.llvm.org
Fri Apr 19 10:05:15 PDT 2024


mjklemm wrote:

> The `REAL_KINDS` exported from `ISO_FORTRAN_ENV` is not a named constant after this change, right? So it would no longer work in a constant expression or initializer. That seems like a non-starter, if so.

Hm...  You're right.  So, this needs to go back to the drawing board...  So, this needs to be fixed in code-gen, I guess.

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


More information about the flang-commits mailing list