[PATCH] D85861: [flang] Correct the default value for PAD= to PAD='YES'.

Peter Klausler via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 12 16:15:08 PDT 2020


klausler created this revision.
klausler added reviewers: sscalpone, PeteSteinfeld.
klausler added a project: Flang.
Herald added a reviewer: jdoerfert.
Herald added a reviewer: DavidTruby.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
klausler requested review of this revision.

It was wrong.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D85861

Files:
  flang/runtime/format.h


Index: flang/runtime/format.h
===================================================================
--- flang/runtime/format.h
+++ flang/runtime/format.h
@@ -31,7 +31,7 @@
   enum decimal::FortranRounding round{
       executionEnvironment
           .defaultOutputRoundingMode}; // RP/ROUND='PROCESSOR_DEFAULT'
-  bool pad{false}; // PAD= mode on READ
+  bool pad{true}; // PAD= mode on READ
   char delim{'\0'}; // DELIM=
   short scale{0}; // kP
 };


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D85861.285204.patch
Type: text/x-patch
Size: 451 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200812/a515d349/attachment.bin>


More information about the llvm-commits mailing list