Simple patch only add assumed-rank to the list of possible attributes.
authorJosé Rui Faustino de Sousa <jrfsousa@gmail.com>
Wed, 3 Jun 2020 17:33:11 +0000 (19:33 +0200)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Wed, 3 Jun 2020 17:38:22 +0000 (19:38 +0200)
commit8d57c30611b05a89fd265f6c0a74fe829c21cd34
tree8344f164a6b9ad014c288328c9e2896918c24702
parent887c45fb5b047171e82710baa51108d5c210eb42
Simple patch only add assumed-rank to the list of possible attributes.

gcc/fortran/ChangeLog:

2020-06-03  José Rui Faustino de Sousa  <jrfsousa@gmail.com>

PR fortran/95214
PR fortran/66833
PR fortran/67938
* trans-expr.c (gfc_maybe_dereference_var): Add assumed-rank to
character dummy arguments list of possible attributes.

gcc/testsuite/ChangeLog:

2020-06-03  José Rui Faustino de Sousa  <jrfsousa@gmail.com>

PR fortran/95214
PR fortran/66833
PR fortran/67938
* gfortran.dg/PR95214.f90: New test.
gcc/fortran/trans-expr.c
gcc/testsuite/gfortran.dg/PR95214.f90 [new file with mode: 0644]