[all-commits] [llvm/llvm-project] db52dd: [flang][runtime] Detect overflow of fixed-sized ex...

Peter Klausler via All-commits all-commits at lists.llvm.org
Mon Jun 13 16:15:27 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: db52dda8ab6f99c4b4fd0515c498c435168688e7
      https://github.com/llvm/llvm-project/commit/db52dda8ab6f99c4b4fd0515c498c435168688e7
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2022-06-13 (Mon, 13 Jun 2022)

  Changed paths:
    M flang/runtime/edit-output.cpp
    M flang/runtime/edit-output.h

  Log Message:
  -----------
  [flang][runtime] Detect overflow of fixed-sized exponent output field

When Ew.dEe or Gw.dEe output has an exponent requiring more than 'e'
digits, the whole output field must overflow to asterisks.  The runtime
was detecting short fields and padding them with zeroes, but not
overflow.

Differential Revision: https://reviews.llvm.org/D127428




More information about the All-commits mailing list