[flang-commits] [flang] [Flang][NFCI] Use abstraction for binary scalar data (PR #212956)

Michael Kruse via flang-commits flang-commits at lists.llvm.org
Mon Aug 3 03:35:30 PDT 2026


Meinersbur wrote:

I added proper zero-padding after consulting the AI. It pointed out to me that the in the Fortran specification it is not undefined behavor and that the runtime zero-pads it as well. I did not want to insert checks whether another byte can be read into every ReadRawBytes function, and instead add zero-padding explicitly when necessary.

I included the test cases from #212956 here as well for testing coverage. It is not possible to make the PR stack on top of #212956. Feel free to land #212956 beforehand.

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


More information about the flang-commits mailing list