------- Comment #3 from burnus at gcc dot gnu dot org 2006-12-06 22:39 ------- Backtrace: 0x000000000043abf3 in mio_symtree_ref (stp=0xe2b070) at gcc/fortran/module.c:2199 2199 if ((*stp)->n.sym && check_unique_name((*stp)->name)) #1 0x000000000043b526 in mio_expr (ep=0xe2b028) at gcc/fortran/module.c:2637
Even more reduced test case. Note that changing the order of "use" suppresses the ICE. (ICE occurs with 4.1, 4.2, 4.3) module tao_random_numbers integer, dimension(10) :: s_buffer integer :: s_last = size (s_buffer) end module tao_random_numbers module linalg contains function diag (a) result (d) real, dimension(:), intent(in) :: a real, dimension(size(a)) :: d d = 0.0 end function diag end module linalg module vamp_rest use tao_random_numbers use linalg end module vamp_rest -- burnus at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |burnus at gcc dot gnu dot | |org Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Keywords| |ice-on-valid-code Known to fail| |4.1.0 4.2.0 4.3.0 Last reconfirmed|0000-00-00 00:00:00 |2006-12-06 22:39:44 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30084