------- Comment #5 from burnus at gcc dot gnu dot org 2009-07-22 07:10 ------- Reduced test case. The crucial part is the span ("1:2") in the assignment - and that "Ro" is use-associated.
Dump: tf_ad_splitting_driver_plane () { [...] extern integer(kind=8) span.0 = 0; [...] span.0 = 4; module testmod implicit none type VARIABLES_MAILLE real :: cell_var end type VARIABLES_MAILLE type (VARIABLES_MAILLE), pointer, dimension( :) :: Hydro_vars real, pointer, dimension(:) :: Ro end module testmod program TF_AD_SPLITTING_DRIVER_PLANE use testmod implicit none Ro => Hydro_vars(1:2)%cell_var end program -- 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 Known to fail|4.3.2 4.4.0 |4.3.2 4.4.0 4.5.0 Last reconfirmed|0000-00-00 00:00:00 |2009-07-22 07:10:56 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40737