This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/39695] [F03] ProcPtr function results: wrong name in error message
- From: "janus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 09 Dec 2013 14:23:35 +0000
- Subject: [Bug fortran/39695] [F03] ProcPtr function results: wrong name in error message
- Auto-submitted: auto-generated
- References: <bug-39695-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39695
--- Comment #3 from janus at gcc dot gnu.org ---
Another example: proc_ptr_result_4.f90 in the testsuite yields the following
error since 4.9 (see also PR59428):
procedure(sin), pointer :: f
1
Error: Procedure pointer 'ppr@' at (1) shall not be elemental
function f()
intrinsic :: sin
procedure(sin), pointer :: f
f => sin
end function f