]> git.ipfire.org Git - thirdparty/gcc.git/commit
fortran: fix testsuite regression for gfortran.dg/value_9.f90 [PR123201]
authorHarald Anlauf <anlauf@gmx.de>
Sun, 21 Dec 2025 22:03:28 +0000 (23:03 +0100)
committerHarald Anlauf <anlauf@gmx.de>
Sun, 21 Dec 2025 22:03:28 +0000 (23:03 +0100)
commitabf3f0b24c4d07649266371c0f8f9625dff58cd3
treead393d5788d28aa6e33269be6518ba803dd964ff
parent5bb465a789600a46f3b53b236ba07b30cea6cbac
fortran: fix testsuite regression for gfortran.dg/value_9.f90 [PR123201]

Commit r16-3499 introduced a regression on targets where truncation of a
string argument passed to a CHARACTER(len=1),VALUE dummy argument missed
the special treatment needed for passing single characters.

PR fortran/123201

gcc/fortran/ChangeLog:

* trans-expr.cc (conv_dummy_value): Convert string of length 1 to a
single character for passing as actual argument.
gcc/fortran/trans-expr.cc