https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92017
--- Comment #2 from Thomas Koenig <tkoenig at gcc dot gnu.org> --- Author: tkoenig Date: Sun Oct 13 13:42:30 2019 New Revision: 276938 URL: https://gcc.gnu.org/viewcvs?rev=276938&root=gcc&view=rev Log: 2019-10-13 Thomas Koenig <tkoe...@gcc.gnu.org> PR fortran/92017 * expr.c (simplify_parameter_variable): Set the character length of the result expression from the original expression if necessary. 2019-10-13 Thomas Koenig <tkoe...@gcc.gnu.org> PR fortran/92017 * gfortran.dg/minmaxloc_14.f90: New test. Added: trunk/gcc/testsuite/gfortran.dg/minmaxloc_14.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/expr.c trunk/gcc/testsuite/ChangeLog