aboutsummaryrefslogtreecommitdiff
path: root/libcpp/files.c
diff options
context:
space:
mode:
authorHarald Anlauf <anlauf@gmx.de>2022-01-11 22:06:10 +0100
committerHarald Anlauf <anlauf@gmx.de>2022-01-15 22:33:00 +0100
commit29401b7b4581e9131e7057e263dcea8b40a6b5ab (patch)
tree917d638c4ccbbc5954b59edb18a6967f74d49ba2 /libcpp/files.c
parent52d28210389ff3d4af8f20db4db1f0d58b0f8eff (diff)
downloadgcc-29401b7b4581e9131e7057e263dcea8b40a6b5ab.zip
gcc-29401b7b4581e9131e7057e263dcea8b40a6b5ab.tar.gz
gcc-29401b7b4581e9131e7057e263dcea8b40a6b5ab.tar.bz2
Fortran: fix ICE and wrong code with TRANSFER and CHARACTER(kind=4)
gcc/fortran/ChangeLog: PR fortran/83079 * target-memory.c (gfc_interpret_character): Result length is in bytes and thus depends on the character kind. * trans-intrinsic.c (gfc_conv_intrinsic_transfer): Compute correct string length for the result of the TRANSFER intrinsic and for temporaries for the different character kinds. gcc/testsuite/ChangeLog: PR fortran/83079 * gfortran.dg/transfer_char_kind4.f90: New test.
Diffstat (limited to 'libcpp/files.c')
0 files changed, 0 insertions, 0 deletions