[flang] Give explicit convert= specifiers precedence over FORT_CONVERT
Currently, the FORT_CONVERT environment variable has the highest priority when setting the endianness conversion for unformatted files. In discussing the appropriate priority for the fconvert option, convert specifiers were decided to take highest priority. This patch also initializes the open statement convert state to unknown to disambiguate cases where the convert specifier was not provided from cases where convert=native was set. This makes it possible to defer to the environment setting where appropriate. Differential Revision: https://reviews.llvm.org/D133237
Loading
Please sign in to comment