------- Comment #4 from janus at gcc dot gnu dot org 2010-01-19 16:35 ------- If one replaces the TBP call by a direct call to the subroutine, like this:
call a_proc(arr(i),ierr) then the ICE goes away (of course a_proc must be public for this to work). This means it is not a problem of the CLASS argument, but really connected to the type-bound call. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42804