llvm-capstone/flang/runtime
Peter Klausler 7cf198f798
[flang][runtime] Don't do partial data transfer on short character read with ADVANCE='NO', PAD='NO'
When a non-advancing formatted READ can't completely fill a CHARACTER
input item with data, and PAD='NO', don't modify the variable at all.
This matters when the error is recoverable.

Fixes https://github.com/llvm/llvm-project/issues/63772

Differential Revision: https://reviews.llvm.org/D155000
2023-07-17 10:04:15 -07:00
..
FortranMain
allocatable.cpp [flang] Add AllocatableInit functions for use in allocate lowering 2023-03-20 10:00:43 +01:00
array-constructor.cpp [flang][runtime] Add API to help with the difficult array constructor cases 2023-02-22 09:16:09 +01:00
assign-impl.h
assign.cpp [flang][hlfir] Do not dereference unallocated entities in structure constructor. 2023-06-27 14:08:35 -07:00
buffer.cpp
buffer.h
character.cpp
CMakeLists.txt [AMDGPU] Add targets gfx1150 and gfx1151 2023-07-17 13:06:12 +01:00
command.cpp
complex-powi.cpp
complex-reduction.c
complex-reduction.h [flang] Added missing _Complex for COMPLEX(10) C reduction API. 2023-04-17 18:02:03 -07:00
config.h.cmake
connection.cpp
connection.h [flang][runtime] Support DT edit descriptor in result of READ(SIZE=) 2023-02-17 09:15:18 -08:00
copy.cpp
copy.h [RFC][flang] Experimental device build of Flang runtime. 2023-06-27 17:38:01 -07:00
derived-api.cpp [flang] Fixed managing copy-in/copy-out temps. 2023-05-23 09:35:17 -07:00
derived.cpp [flang][runtime] Initialize uninitialized pointer components 2023-05-08 15:08:37 -07:00
derived.h
descriptor-io.cpp [flang] Rework handling of non-type-bound user-defined I/O 2023-04-13 15:35:01 -07:00
descriptor-io.h [flang] Rework handling of non-type-bound user-defined I/O 2023-04-13 15:35:01 -07:00
descriptor.cpp
dot-product.cpp
edit-input.cpp [flang][runtime] Don't do partial data transfer on short character read with ADVANCE='NO', PAD='NO' 2023-07-17 10:04:15 -07:00
edit-input.h
edit-output.cpp [flang] Detect output field width overflow for Inf/NaN 2023-05-31 09:08:58 -07:00
edit-output.h
emit-encoded.h [flang][runtime] Reset the left tab limit when flushing output 2023-04-13 09:43:40 -07:00
environment-default-list.h
environment.cpp
environment.h
extensions.cpp
extrema.cpp
file.cpp Revert "[flang][runtime] Support all non-ASCII characters in temporary path on Windows" 2023-05-29 12:26:01 +04:00
file.h
findloc.cpp
format-implementation.h [flang] Rework handling of non-type-bound user-defined I/O 2023-04-13 15:35:01 -07:00
format.cpp
format.h [flang] Rework handling of non-type-bound user-defined I/O 2023-04-13 15:35:01 -07:00
freestanding-tools.h [RFC][flang] Experimental device build of Flang runtime. 2023-06-27 17:38:01 -07:00
inquiry.cpp
internal-unit.cpp [flang][runtime] Support DT edit descriptor in result of READ(SIZE=) 2023-02-17 09:15:18 -08:00
internal-unit.h [flang][runtime] Support DT edit descriptor in result of READ(SIZE=) 2023-02-17 09:15:18 -08:00
io-api.cpp [flang][runtime] Allow OPEN(n,ENCODING=) to change the encoding 2023-07-03 11:28:28 -07:00
io-error.cpp Remove HAVE_STRERROR 2023-05-30 14:12:20 -07:00
io-error.h
io-stmt.cpp [flang][runtime] Don't do partial data transfer on short character read with ADVANCE='NO', PAD='NO' 2023-07-17 10:04:15 -07:00
io-stmt.h [flang][runtime] Don't do partial data transfer on short character read with ADVANCE='NO', PAD='NO' 2023-07-17 10:04:15 -07:00
iostat.cpp [flang][runtime] Corrections to formatted child I/O 2023-03-10 10:09:44 -08:00
ISO_Fortran_binding.cpp
ISO_Fortran_util.h
lock.h
main.cpp
matmul-transpose.cpp [flang] add fused matmul-transpose to the runtime 2023-03-17 09:30:04 +00:00
matmul.cpp
memory.cpp
misc-intrinsic.cpp
namelist.cpp [flang] Non-type-bound defined IO lowering 2023-05-17 09:22:13 -07:00
namelist.h [flang] Rework handling of non-type-bound user-defined I/O 2023-04-13 15:35:01 -07:00
non-tbp-dio.cpp [flang] Rework handling of non-type-bound user-defined I/O 2023-04-13 15:35:01 -07:00
non-tbp-dio.h [flang] Non-type-bound defined IO lowering 2023-05-17 09:22:13 -07:00
numeric.cpp [flang] Retain the sign of the argument for the result of fraction(0) 2023-05-26 09:24:30 -07:00
pointer.cpp [flang] Only apply PointerIsAssociatedWith fix for derived-type 2023-03-09 16:06:34 +01:00
product.cpp
ragged.cpp
random.cpp
reduction-templates.h
reduction.cpp
stat.cpp
stat.h
stop.cpp
sum.cpp
support.cpp
temporary-stack.cpp [flang][runtime] Add dynamically allocated temporary storage 2023-05-18 10:48:45 +00:00
terminator.cpp
terminator.h [RFC][flang] Experimental device build of Flang runtime. 2023-06-27 17:38:01 -07:00
time-intrinsic.cpp [flang] Avoid dependency of runtime library on pthread for MinGW 2023-04-25 10:12:41 -07:00
tools.cpp
tools.h [RFC][flang] Experimental device build of Flang runtime. 2023-06-27 17:38:01 -07:00
transformational.cpp [RFC][flang] Experimental device build of Flang runtime. 2023-06-27 17:38:01 -07:00
type-code.cpp
type-info.cpp [flang][runtime] Initialize uninitialized pointer components 2023-05-08 15:08:37 -07:00
type-info.h [flang] Rework handling of non-type-bound user-defined I/O 2023-04-13 15:35:01 -07:00
unit-map.cpp
unit-map.h
unit.cpp [flang][runtime] Fix BACKSPACE over an empty record 2023-07-07 15:54:34 -07:00
unit.h [flang] Rework handling of non-type-bound user-defined I/O 2023-04-13 15:35:01 -07:00
utf.cpp
utf.h