re PR fortran/22491 (character array parameters do not reduce)
authorDavid Edelsohn <edelsohn@gnu.org>
Wed, 3 Aug 2005 01:55:37 +0000 (01:55 +0000)
committerDavid Edelsohn <dje@gcc.gnu.org>
Wed, 3 Aug 2005 01:55:37 +0000 (21:55 -0400)
commitc2fee3de3b9b15b903841cc1d6679a627ccbbebe
treed711a71b0305354c02ba3670d2e1ff750f76045b
parent75ec95c8cde7f027c874a12dd4f1c7c21607a588
re PR fortran/22491 (character array parameters do not reduce)

PR fortran/22491
* expr.c (simplify_parameter_variable): Do not copy the subobject
references if the expression value is a constant.

* expr.c (gfc_simplify_expr): Evaluate constant substrings.

From-SVN: r102676
gcc/fortran/ChangeLog
gcc/fortran/expr.c