2017-11-09 Paul Thomas <pault@gcc.gnu.org>
commit67c0e9f5bd66940bf0340b8f0bd0c0c81f11854d
authorpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 9 Nov 2017 19:12:41 +0000 (9 19:12 +0000)
committerpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 9 Nov 2017 19:12:41 +0000 (9 19:12 +0000)
tree4afaf01334bb2ba941218b9e57539348c63c514c
parent515b20f202a347194c3853bf58a284955b71cb05
2017-11-09  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/78619
* check.c (same_type_check): Introduce a new argument 'assoc'
with default value false. If this is true, use the symbol type
spec of BT_PROCEDURE expressions.
(gfc_check_associated): Set 'assoc' true in the call to
'same_type_check'.

2017-11-09  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/78619
* gfortran.dg/pr78619.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@254605 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/check.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr78619.f90 [new file with mode: 0644]