https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89077
--- Comment #18 from anlauf at gcc dot gnu.org --- Author: anlauf Date: Sun Feb 17 21:14:14 2019 New Revision: 268973 URL: https://gcc.gnu.org/viewcvs?rev=268973&root=gcc&view=rev Log: 2019-02-17 Harald Anlauf <anl...@gmx.de> PR fortran/89077 * decl.c (gfc_set_constant_character_len): Clear original string representation after padding has been performed to target length. PR fortran/89077 * gfortran.dg/transfer_simplify_12.f90: New test. Added: trunk/gcc/testsuite/gfortran.dg/transfer_simplify_12.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/decl.c trunk/gcc/testsuite/ChangeLog