This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/36322] ICE with PROCEDURE using a complicated interface
- From: "janus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 May 2008 11:03:39 -0000
- Subject: [Bug fortran/36322] ICE with PROCEDURE using a complicated interface
- References: <bug-36322-13404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from janus at gcc dot gnu dot org 2008-05-31 11:03 -------
I tried to reduce this as far as I could, and ended up with:
subroutine sub(x)
abstract interface
character function abs_fun()
end function
end interface
procedure(abs_fun):: x
end subroutine
So, contrary to my expectations, this ICE does not seem to be about
ISO_C_BINDING, nor assumed-shape arrays.
Instead it seems to be connected to CHARACTER and DUMMY, since it only happens
if x is a dummy argument, and abs_fun is character-valued.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36322