re PR fortran/68544 (ICE trying to pass derived type constructor as a function)
authorSteven G. Kargl <kargl@gcc.gnu.org>
Thu, 13 Jun 2019 18:40:19 +0000 (18:40 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Thu, 13 Jun 2019 18:40:19 +0000 (18:40 +0000)
commitb00802f5e09f2765d299c2a54c30cd372e0013ee
tree04fe9fd31225b385bc80c8aa2e654baba7cbd608
parent19c6bc40f056f06c48819c838aec306037e9b76b
re PR fortran/68544 (ICE trying to pass derived type constructor as a function)

2019-06-13  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/68544
* resolve.c (is_dt_name): New function to compare symbol name against
list of derived types.
(resolve_actual_arglist): Use it to find wrong code.

2019-06-13  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/68544
* gfortran.dg/pr68544.f90: New test.
* gfortran.dg/pr85687.f90: Modify test for new error message.

From-SVN: r272259
gcc/fortran/ChangeLog
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr68544.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/pr85687.f90