------- 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