[all-commits] [llvm/llvm-project] bfcd53: [flang] Give explicit convert= specifiers preceden...

jpenix-quic via All-commits all-commits at lists.llvm.org
Mon Sep 19 20:47:57 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bfcd536a8ef6b1d6e9dd211925be3b078d06fe77
      https://github.com/llvm/llvm-project/commit/bfcd536a8ef6b1d6e9dd211925be3b078d06fe77
  Author: Jonathon Penix <jpenix at quicinc.com>
  Date:   2022-09-19 (Mon, 19 Sep 2022)

  Changed paths:
    M flang/runtime/io-stmt.h
    M flang/runtime/unit.cpp

  Log Message:
  -----------
  [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




More information about the All-commits mailing list