------- Comment #15 from janus at gcc dot gnu dot org  2010-04-27 21:40 -------
I've reduced the test case to the bare minimum required to trigger the ICE:


module m_rotation_matrix

  type t_rotation_matrix
  end type

contains

  function rotation_matrix_times_vector( left ) result(res)
    class(t_rotation_matrix),        intent(in) :: left
    double precision, dimension(3)              :: res
    res = 0
  end function

end module


  use m_rotation_matrix
  type(t_rotation_matrix) :: rot
  print *, rotation_matrix_times_vector (rot )
end


And yes, I agree that it's a duplicate of PR 42051.


-- 


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

Reply via email to