llvm-project/flang/runtime
peter klausler d56fdc8e95 [flang][msvc] Avoid dependence on long double
MSVC does not support a distinct 80-bit extended precision
"long double" type.  Rework the I/O runtime to avoid using
native C/C++ type names.  Centralize the mappings between
the KIND= type parameters of REAL and their binary precisions
in the common real.h header file, and use KIND type parameter
values rather than binary precisions for clarity where
appropriate.

This patch, if successful, should obviate the need for
Differential review D88511.

(This patch anticipates a successful review of D88688, which
fixes the function that maps each kind of real to its maximum
number of significant decimal digits.)

Differential revision: https://reviews.llvm.org/D88752
2020-10-07 15:12:08 -07:00
..
CMakeLists.txt [flang] Fix issue of flang/runtime/config.h not being found in out of tree builds 2020-06-08 14:16:08 -05:00
ISO_Fortran_binding.cpp [flang] More Fortran runtime support for CHARACTER operations 2020-06-17 15:51:48 -07:00
allocatable.cpp [flang] Define CHARACTER runtime API, establish placeholder implementations 2020-04-02 09:38:25 -07:00
allocatable.h [flang] Define CHARACTER runtime API, establish placeholder implementations 2020-04-02 09:38:25 -07:00
buffer.cpp [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
buffer.h [flang] Fix buffering read->write transition 2020-10-01 16:57:38 -07:00
c-or-cpp.h [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
character.cpp [flang] Fix build problems on osx 2020-06-18 11:14:25 -07:00
character.h [flang] More Fortran runtime support for CHARACTER operations 2020-06-17 15:51:48 -07:00
config.h.cmake [flang] Support platforms without strerror_r 2020-03-28 16:46:43 -05:00
connection.cpp [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
connection.h [flang] External I/O runtime work, repackaged (part 1) 2020-07-02 15:17:26 -07:00
derived-type.cpp [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
derived-type.h [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
descriptor-io.h [flang][msvc] Avoid dependence on long double 2020-10-07 15:12:08 -07:00
descriptor.cpp [flang] More Fortran runtime support for CHARACTER operations 2020-06-17 15:51:48 -07:00
descriptor.h [flang] Descriptor-based I/O using wrong size for contiguous unformatted I/O 2020-08-13 10:46:43 -07:00
edit-input.cpp [flang][msvc] Avoid dependence on long double 2020-10-07 15:12:08 -07:00
edit-input.h [flang][msvc] Avoid dependence on long double 2020-10-07 15:12:08 -07:00
edit-output.cpp [flang][msvc] Avoid dependence on long double 2020-10-07 15:12:08 -07:00
edit-output.h [flang][msvc] Avoid dependence on long double 2020-10-07 15:12:08 -07:00
entry-names.h [flang] Drill down to a working implementation of the APIs for an 2020-01-24 12:33:47 -08:00
environment.cpp [flang] Implement byte-swapped external unformatted I/O in runtime 2020-07-21 18:14:46 -07:00
environment.h [flang] Implement byte-swapped external unformatted I/O in runtime 2020-07-21 18:14:46 -07:00
file.cpp [flang][msvc] Define access flags under Windows. NFC. 2020-09-29 17:01:36 -05:00
file.h [flang] Acquire file accessibility, size, positioning 2020-08-03 16:42:48 -07:00
format-implementation.h [flang] Fix Gw.d format output 2020-09-30 18:02:25 -07:00
format.cpp [flang] Implement byte-swapped external unformatted I/O in runtime 2020-07-21 18:14:46 -07:00
format.h [flang] Correct the default value for PAD= to PAD='YES'. 2020-08-13 08:57:53 -07:00
internal-unit.cpp [flang] External I/O runtime work, repackaged (part 1) 2020-07-02 15:17:26 -07:00
internal-unit.h [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
io-api.cpp [flang] Fix buffering read->write transition 2020-10-01 16:57:38 -07:00
io-api.h [flang] Add checks for misuse of formatted I/O APIs in unformatted I/O statement 2020-10-01 09:58:04 -07:00
io-error.cpp [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
io-error.h [flang] Implement runtime support for INQUIRE statements 2020-08-03 17:15:08 -07:00
io-stmt.cpp [flang] Fix actions at end of output record 2020-10-01 17:18:20 -07:00
io-stmt.h [flang][NFC] Fix mis-matched struct/class declarations 2020-10-02 13:08:51 -07:00
iostat.cpp [flang] Define new runtime error IOSTAT values (I/O runtime work part 4) 2020-07-03 12:41:33 -07:00
iostat.h [flang] Define new runtime error IOSTAT values (I/O runtime work part 4) 2020-07-03 12:41:33 -07:00
lock.h [flang] More Fortran runtime support for CHARACTER operations 2020-06-17 15:51:48 -07:00
magic-numbers.h [flang] Use hash table for UnitMap, avoid C++ STL binary dependence 2020-03-11 13:23:39 -07:00
main.cpp [flang] Implement byte-swapped external unformatted I/O in runtime 2020-07-21 18:14:46 -07:00
main.h [flang] Implement byte-swapped external unformatted I/O in runtime 2020-07-21 18:14:46 -07:00
memory.cpp [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
memory.h [flang] Implement runtime support for INQUIRE statements 2020-08-03 17:15:08 -07:00
pgmath.h.inc [flang] partially revert upstreamed code to support complex values in runtime support to avoid warnings. 2020-07-09 07:39:44 -07:00
stop.cpp [flang] Extend runtime API for PAUSE to allow a stop code 2020-10-01 17:20:11 -07:00
stop.h [flang] Extend runtime API for PAUSE to allow a stop code 2020-10-01 17:20:11 -07:00
terminator.cpp [flang] Basic tests of external I/O runtime (part 9/9) 2020-07-06 10:37:13 -07:00
terminator.h [flang] Basic tests of external I/O runtime (part 9/9) 2020-07-06 10:37:13 -07:00
tools.cpp [flang] Implement runtime support for INQUIRE statements 2020-08-03 17:15:08 -07:00
tools.h [flang] Implement runtime support for INQUIRE statements 2020-08-03 17:15:08 -07:00
transformational.cpp [flang] Clean up binary dependences of runtime libraries 2020-07-02 12:27:01 -07:00
transformational.h [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
type-code.cpp [flang] Add checks for misuse of formatted I/O APIs in unformatted I/O statement 2020-10-01 09:58:04 -07:00
type-code.h [flang] Descriptor-based I/O data item transfers 2020-08-07 13:09:09 -07:00
unit-map.cpp [flang] Implement runtime support for INQUIRE statements 2020-08-03 17:15:08 -07:00
unit-map.h [flang] Implement runtime support for INQUIRE statements 2020-08-03 17:15:08 -07:00
unit.cpp [flang] Fix actions at end of output record 2020-10-01 17:18:20 -07:00
unit.h [flang] Allow record advancement in external formatted sequential READ 2020-09-30 17:16:55 -07:00