2016-01-23 Jerry DeLisle <jvdelisle@gcc.gnu.org>
commitd65063f5f30a5fadd7a90ef8d2c1882ce2e39c00
authorjvdelisle <jvdelisle@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 24 Jan 2016 22:18:20 +0000 (24 22:18 +0000)
committerjvdelisle <jvdelisle@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 24 Jan 2016 22:18:20 +0000 (24 22:18 +0000)
treec4b2fa7e6c57bcfb7985990569b0be1ef4d640b7
parent7de58a0c54f9e5488740bba824c51e70af9d65eb
2016-01-23  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR fortran/69397
PR fortran/68442
* interface.c (gfc_arglist_matches_symbol): Replace assert with
a return false if not a procedure.
* resolve.c (resolve_generic_f): Test if we are resolving an
initialization expression and adjust error message accordingly.

2016-01-24  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR fortran/69397
PR fortran/68442
* gfortran.dg/interface_38.f90: New test.
* gfortran.dg/interface_39.f90: New test.

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