re PR fortran/90744 (Bogus length for character temporaries passed to external proced...
authorThomas Koenig <tkoenig@gcc.gnu.org>
Sat, 8 Jun 2019 13:50:42 +0000 (13:50 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Sat, 8 Jun 2019 13:50:42 +0000 (13:50 +0000)
commit304d779b9ebeb30fd8761703b5729b51db450793
treeead5b78fc9724867061d75a9d207b33ed89eb2ff
parent604ba08ab4b3672b8d96f78a781937ad9e43971c
re PR fortran/90744 (Bogus length for character temporaries passed to external procedures since r268992)

2019-06-08  Thomas Koenig  <tkoenig@gcc.gnu.org>
Tomáš Trnka  <trnka@scm.com>

PR fortran/90744
* trans-types.c (get_formal_from_actual_arglist): Unset typespec
flags which make no sense for procedures without explicit
interface.

2019-06-08  Thomas Koenig  <tkoenig@gcc.gnu.org>
Tomáš Trnka  <trnka@scm.com>

PR fortran/90744
* gfortran.dg/deferred_character_33.f90: New test.
* gfortran.dg/deferred_character_33a.f90: New test.

From-SVN: r272082
gcc/fortran/ChangeLog
gcc/fortran/trans-types.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/deferred_character_33.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/deferred_character_33a.f90 [new file with mode: 0644]