This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/43896] [OOP] ICE in gfc_conv_variable, at fortran/trans-expr.c:551
- 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: 27 Apr 2010 21:40:44 -0000
- Subject: [Bug fortran/43896] [OOP] ICE in gfc_conv_variable, at fortran/trans-expr.c:551
- References: <bug-43896-18842@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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