re PR fortran/78719 ([F03] ICE in gfc_get_symbol_decl, at fortran/trans-decl.c:1438)
authorSteven G. Kargl <kargl@gcc.gnu.org>
Sat, 17 Aug 2019 14:27:07 +0000 (14:27 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Sat, 17 Aug 2019 14:27:07 +0000 (14:27 +0000)
commit1c3925e32aea0046e01f844f2519c47caa7aa63b
tree343613919d05f3edd5f09529f42cf469b64aa7f5
parent4f81c2a3c54d8ea9ebd7c703eef9f6d09088eb29
re PR fortran/78719 ([F03] ICE in gfc_get_symbol_decl, at fortran/trans-decl.c:1438)

2019-08-17  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/78719
* decl.c (get_proc_name): Check for a CLASS entity when trying to
add attributes to an entity that already has an explicit interface.

2019-08-17  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/78719
* gfortran.dg/pr78719_1.f90: New test.
* gfortran.dg/pr78719_2.f90: Ditto.
* gfortran.dg/pr78719_3.f90: Ditto.

From-SVN: r274604
gcc/fortran/ChangeLog
gcc/fortran/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr78719_1.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/pr78719_2.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/pr78719_3.f90 [new file with mode: 0644]