This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
[Patch, fortran] PR86408 [9 Regression] bogus error: ABSTRACT INTERFACE must not have an assumed character length result (F2003: C418)
- From: Paul Richard Thomas <paul dot richard dot thomas at gmail dot com>
- To: "fortran at gcc dot gnu dot org" <fortran at gcc dot gnu dot org>
- Date: Thu, 5 Jul 2018 17:32:56 +0100
- Subject: [Patch, fortran] PR86408 [9 Regression] bogus error: ABSTRACT INTERFACE must not have an assumed character length result (F2003: C418)
- References: <bug-86408-10374@http.gcc.gnu.org/bugzilla/> <bug-86408-10374-2ARo0UDpQe@http.gcc.gnu.org/bugzilla/>
Fixed as 'obvious'.
Paul
---------- Forwarded message ---------
From: pault at gcc dot gnu.org <gcc-bugzilla@gcc.gnu.org>
Date: Thu, 5 Jul 2018 at 17:28
Subject: [Bug fortran/86408] [9 Regression] bogus error: ABSTRACT
INTERFACE must not have an assumed character length result (F2003:
C418)
To: <pault@gcc.gnu.org>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86408
--- Comment #10 from Paul Thomas <pault at gcc dot gnu.org> ---
Author: pault
Date: Thu Jul 5 16:27:38 2018
New Revision: 262445
URL: https://gcc.gnu.org/viewcvs?rev=262445&root=gcc&view=rev
Log:
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.
Added:
trunk/gcc/testsuite/gfortran.dg/deferred_character_20.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/resolve.c
trunk/gcc/testsuite/ChangeLog
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
--
"If you can't explain it simply, you don't understand it well enough"
- Albert Einstein