This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/54949] [F03] abstract procedure pointers not rejected
- 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: Wed, 17 Oct 2012 22:03:29 +0000
- Subject: [Bug fortran/54949] [F03] abstract procedure pointers not rejected
- Auto-submitted: auto-generated
- References: <bug-54949-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54949
--- Comment #3 from janus at gcc dot gnu.org 2012-10-17 22:03:29 UTC ---
(In reply to comment #1)
> Preliminary patch:
Unfortunately, this does not help for the variant, where the POINTER
declaration comes before the interface body:
pointer :: abssub
abstract interface
subroutine abssub
end subroutine
end interface
Like the original test case, this results in an ICE.