]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR fortran/86408 (bogus error: ABSTRACT INTERFACE must not have an assumed charact...
authorPaul Thomas <pault@gcc.gnu.org>
Thu, 5 Jul 2018 16:27:38 +0000 (16:27 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Thu, 5 Jul 2018 16:27:38 +0000 (16:27 +0000)
commit99d2293dbfa03ddc5b0308858412ddded4c832a8
tree6111bca9d108092f39cc4c754a3e30762f6e3eef
parentd8d9b83b33dd13d81a1e107ce4d1e075a30e6f21
re PR fortran/86408 (bogus error: ABSTRACT INTERFACE must not have an assumed character length result (F2003: C418))

2018-07-05  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/86408
* resolve.c.c (resolve_contained_fntype): Reference to C418 is
in F2008 and not F2003.
(resolve_function): Ditto in error message. Also, exclude
deferred character length results from the error.

2018-07-05  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/86408
* gfortran.dg/deferred_character_20.f90: New test.

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