aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorPeter Klausler <35819229+klausler@users.noreply.github.com>2023-12-26 15:23:01 -0800
committerGitHub <noreply@github.com>2023-12-26 15:23:01 -0800
commit933882f73971546d529ab225cb9bb982ed5ff47b (patch)
treecbb04ecdcb8cc90d7882974f143efbfba4379fa6 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent475d18f15db2d6925f81c39900e725e1fe28cba1 (diff)
downloadllvm-933882f73971546d529ab225cb9bb982ed5ff47b.zip
llvm-933882f73971546d529ab225cb9bb982ed5ff47b.tar.gz
llvm-933882f73971546d529ab225cb9bb982ed5ff47b.tar.bz2
[flang][runtime] Fix trailing blanks for Gw.dEe output editing (#75263)
When generalized numeric output editing of real data maps to Fw.d output editing, either two or four trailing blanks are emitted depending on the presence and value of 'e'. The code that detects field width overflow didn't take these trailing blanks into account, and sometimes the field width adjustment was producing an F0.d output edit descriptor (no fixed field width). Fix by retaining the original field width, but requiring it to also accommodate the trailing blanks. Fixes llvm-test-suite/Fortran/gfortran/regression/fmt_g.f.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions