re PR fortran/89077 (ICE using * as len specifier for character parameter)
authorHarald Anlauf <anlauf@gmx.de>
Sun, 17 Feb 2019 21:14:14 +0000 (21:14 +0000)
committerHarald Anlauf <anlauf@gcc.gnu.org>
Sun, 17 Feb 2019 21:14:14 +0000 (21:14 +0000)
commite6ca33ba57dd55357cf2fd97c81fd12daca465a3
tree149a62d2ada8627643ce242bbdef6b206fabdebe
parentdc20515ee57df80372f0f55011a67811ce82053e
re PR fortran/89077 (ICE using * as len specifier for character parameter)

2019-02-17  Harald Anlauf  <anlauf@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.

From-SVN: r268973
gcc/fortran/ChangeLog
gcc/fortran/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/transfer_simplify_12.f90 [new file with mode: 0644]