[flang-commits] [flang] [flang] Allow getenv as alternate spelling for get_environment_variable (PR #95777)

David Truby via flang-commits flang-commits at lists.llvm.org
Wed Jun 19 06:21:37 PDT 2024


DavidTruby wrote:

This is used in a number of places in OpenRadioss, for example here: https://github.com/OpenRadioss/OpenRadioss/blob/7aadf0746ecf6b34fee7df39a614e5b9865e4ddd/common_source/qa/qa_out_mod.F#L78

OpenRadioss only uses the flags that gfortran accepts, however it would be more complicated to restrict the flags to just those and I don't see a good reason to restrict it as they're a strict subset of what get_environment_variable accepts.

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


More information about the flang-commits mailing list