[flang-commits] [flang] f09a224 - [flang] Correct the default value for PAD= to PAD='YES'.

peter klausler via flang-commits flang-commits at lists.llvm.org
Thu Aug 13 08:59:12 PDT 2020


Author: peter klausler
Date: 2020-08-13T08:57:53-07:00
New Revision: f09a2244ba660c105331836a3ae8a1e229b34177

URL: https://github.com/llvm/llvm-project/commit/f09a2244ba660c105331836a3ae8a1e229b34177
DIFF: https://github.com/llvm/llvm-project/commit/f09a2244ba660c105331836a3ae8a1e229b34177.diff

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

Added: 
    

Modified: 
    flang/runtime/format.h

Removed: 
    


################################################################################
diff  --git a/flang/runtime/format.h b/flang/runtime/format.h
index 7d33e0ffbd147..3a10b88f29237 100644
--- a/flang/runtime/format.h
+++ b/flang/runtime/format.h
@@ -31,7 +31,7 @@ struct MutableModes {
   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
 };


        


More information about the flang-commits mailing list