This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/42804] ICE with -fcheck=bounds and type bound procedure call on array element
- 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: 19 Jan 2010 16:35:25 -0000
- Subject: [Bug fortran/42804] ICE with -fcheck=bounds and type bound procedure call on array element
- References: <bug-42804-17837@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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