------- Comment #3 from burnus at gcc dot gnu dot org 2006-12-13 21:32 -------
ICE is gone, if one removes intent(out).
ICE is at gfc_conv_descriptor_data_addr:
gcc_assert (GFC_DESCRIPTOR_TYPE_P (type));
program class_scal_p
implicit none
type scal_p
real, allocatable :: b(:)
end type scal_p
type(scal_p) :: pd
call psb_geallv(pd%b)
contains
subroutine psb_geallv(x)
real, allocatable, intent(out) :: x(:)
end subroutine psb_geallv
end program class_scal_p
--
burnus at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |burnus at gcc dot gnu dot
| |org
GCC build triplet|i686-pc-linux-gnu |
GCC host triplet|i686-pc-linux-gnu |
GCC target triplet|i686-pc-linux-gnu |
Keywords| |ice-on-valid-code
Known to fail|4.3.0 |4.2.0 4.3.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30202