http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48059

--- Comment #10 from janus at gcc dot gnu.org 2011-03-11 15:57:47 UTC ---
(In reply to comment #9)
> That looks like the right way to go.  Do you understand how this can
> be a regression, whilst the correct interface mapping was previously
> not present :-)  ?

Well, I think gfortran 4.5 just silently produced wrong code, and then
Michael's patch triggered the ICE (uncovering a bug that had been there
before).

The dump with my patch shows

      D.1574 = D.1572->_data->a_type.length;

while 4.5 gives:

      D.1565 = D.1563->$data->length;

(missing the "a_type" parent reference).

Reply via email to