Discussion:
[Patch, fortran] PR86408 [9 Regression] bogus error: ABSTRACT INTERFACE must not have an assumed character length result (F2003: C418)
Paul Richard Thomas
2018-07-05 16:32:56 UTC
Permalink
Fixed as 'obvious'.

Paul

---------- Forwarded message ---------
From: pault at gcc dot gnu.org <gcc-***@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: <***@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 <***@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 <***@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
Loading...