[Bug fortran/42804] ICE with -fcheck=bounds and type bound procedure call on array element

janus at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Jan 19 16:35:00 GMT 2010



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



More information about the Gcc-bugs mailing list