re PR fortran/92017 (ICE in gfc_expr_attr, at fortran/primary.c:2674)
authorThomas Koenig <tkoenig@gcc.gnu.org>
Sun, 13 Oct 2019 13:42:30 +0000 (13:42 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Sun, 13 Oct 2019 13:42:30 +0000 (13:42 +0000)
commit19400cb96ce8fde3268d0b476d4d3c1efe3d3728
tree02b5e02b1b6ad8df0c5496d920e7e438ef6d7f4c
parent855c21cb9af3e00ac10533f0525b038cf77eaa49
re PR fortran/92017 (ICE in gfc_expr_attr, at fortran/primary.c:2674)

2019-10-13  Thomas Koenig  <tkoenig@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  <tkoenig@gcc.gnu.org>

PR fortran/92017
* gfortran.dg/minmaxloc_14.f90: New test.

From-SVN: r276938
gcc/fortran/ChangeLog
gcc/fortran/expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/minmaxloc_14.f90 [new file with mode: 0644]