[PATCH] D130513: [Flang] Add -fconvert option to swap endianness for unformatted files

Jonathon Penix via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 25 13:19:35 PDT 2022


jpenix-quic added a comment.

I do have a few related lingering questions as well:

1. While this implementation mimics gfortran's behavior, there are still differences with other compilers (please see the comment here: https://github.com/llvm/llvm-project/issues/55961#issuecomment-1175677659). Is there a good place to document this (if worthwhile)?
2. There are a few differences in how gfortran and this implementation prioritize the convert command line option, environment variable, and CONVERT= specifier (please see comment here https://github.com/llvm/llvm-project/issues/55961#issuecomment-1172547132). Would this be worthwhile to change to match gfortran as well? If not, is there maybe a good place to document this?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D130513/new/

https://reviews.llvm.org/D130513



More information about the cfe-commits mailing list