This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]