[all-commits] [llvm/llvm-project] c6cb72: [flang] Replay a FORMAT at the right position

Peter Klausler via All-commits all-commits at lists.llvm.org
Tue Jul 21 19:00:46 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: c6cb726a8c60d97908016fe7fb76cdc88b543db2
      https://github.com/llvm/llvm-project/commit/c6cb726a8c60d97908016fe7fb76cdc88b543db2
  Author: peter klausler <pklausler at nvidia.com>
  Date:   2020-07-21 (Tue, 21 Jul 2020)

  Changed paths:
    M flang/runtime/format-implementation.h
    M flang/unittests/Runtime/hello.cpp

  Log Message:
  -----------
  [flang] Replay a FORMAT at the right position

When FORMAT control reaches the final parenthesis and data items
remain, we advance a record and revert to the beginning of the
FORMAT for further items.  But when the FORMAT contains any
nested parenthesized group of editing descriptors, possibly
repeated, reversion must be to the beginning of the last such
top-level parenthesized group, including its repetition count.

Reviewed By: sscalpone, PeteSteinfeld

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




More information about the All-commits mailing list