re PR fortran/83316 (ICE: minval/maxval and characters)
authorThomas Koenig <tkoenig@gcc.gnu.org>
Sat, 9 Dec 2017 08:37:17 +0000 (08:37 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Sat, 9 Dec 2017 08:37:17 +0000 (08:37 +0000)
commitb01fff4882f0c5d35a52e7001832e31c708fffd9
tree25ee205b4dca5402eabeed57e569d5310926452a
parent3a4c600f389e8c5aa6dcbd6cd14bd0c546af0bb2
re PR fortran/83316 (ICE: minval/maxval and characters)

2017-12-09  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/83316
* arith.c (gfc_character2character): New function.
* arith.h: Add prototype.
* simplify.c (gfc_convert_constant): Handle character type.

2017-12-09  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/83316
* gfortran.dg/minval_char_5.f90: New test.

From-SVN: r255522
gcc/fortran/ChangeLog
gcc/fortran/arith.c
gcc/fortran/arith.h
gcc/fortran/simplify.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/minval_char_5.f90 [new file with mode: 0644]