]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fortran: intrinsics and deferred-length character arguments [PR95947,PR110658]
authorHarald Anlauf <anlauf@gmx.de>
Sun, 16 Jul 2023 20:17:27 +0000 (22:17 +0200)
committerHarald Anlauf <anlauf@gmx.de>
Mon, 17 Jul 2023 18:23:06 +0000 (20:23 +0200)
commit95ddd2659849a904509067ec3a2770135149a722
tree4f342c5545969db217ce7e618a3b8d163a25e4df
parentcaabf0973a4e9a26421c94d540e3e20051e93e77
Fortran: intrinsics and deferred-length character arguments [PR95947,PR110658]

gcc/fortran/ChangeLog:

PR fortran/95947
PR fortran/110658
* trans-expr.cc (gfc_conv_procedure_call): For intrinsic procedures
whose result characteristics depends on the first argument and which
can be of type character, the character length will not be deferred.

gcc/testsuite/ChangeLog:

PR fortran/95947
PR fortran/110658
* gfortran.dg/deferred_character_37.f90: New test.
gcc/fortran/trans-expr.cc
gcc/testsuite/gfortran.dg/deferred_character_37.f90 [new file with mode: 0644]