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: "burnus 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 15:56:41 -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 #3 from burnus at gcc dot gnu dot org 2010-01-19 15:56 -------
The problem is that e(xpr)->where->lb == NULL. The flow is:
gfc_conv_procedure_call -> gfc_conv_derived_to_class -> gfc_conv_expr_reference
-> gfc_conv_variable etc.
I wonder whether the problem is that the CLASS struct has no line number
information associated with - but that is just a blind shot.
--
burnus at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |janus at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42804