------- Comment #12 from pinskia at gcc dot gnu dot org 2006-02-24 18:14 ------- (In reply to comment #11) > (In reply to comment #10) > > Note -O3 enables complete unrolling at the tree level, I think there might > > be > > another related bug to this one. I bet it is failing in VRP2 also, just > > like > > the other one. > > That would be PR 26443 by the way.
And it fails in the same way PR 26443 fails as that it is ICE after VRP2. Here is the "reduced" testcase (there are no complex types in there): MODULE message_passing TYPE mp_perf_type CHARACTER ( LEN = 20 ) :: name REAL :: time END TYPE mp_perf_type INTEGER, PARAMETER :: MAX_PERF = 12 TYPE mp_perf_env_type INTEGER :: ref_count, id_nr TYPE ( mp_perf_type ), DIMENSION ( MAX_PERF ) :: mp_perfs END TYPE mp_perf_env_type CHARACTER ( LEN = 20 ), PARAMETER :: sname ( MAX_PERF ) = & (/"MP_Group ", "MP_Bcast ", "MP_Allreduce ", & "MP_Gather ", "MP_Sync ", "MP_Alltoall ", & "MP_SendRecv ", "MP_ISendRecv ", "MP_Wait ", & "MP_comm_split ", "MP_ISend ", "MP_IRecv "/) CONTAINS SUBROUTINE mp_perf_env_create(perf_env) TYPE(mp_perf_env_type), POINTER :: perf_env perf_env%id_nr=last_mp_perf_env_id DO i = 1, MAX_PERF perf_env%mp_perfs(i) % name = sname(i) perf_env%mp_perfs(i) % time = 0.0 END DO END SUBROUTINE mp_perf_env_create END MODULE message_passing -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- BugsThisDependsOn| |26443 Component|fortran |tree-optimization Keywords| |ice-on-valid-code Summary|gfortran does not compile |[4.2 Regression] gfortran |cp2k |does not compile cp2k Target Milestone|--- |4.2.0 Version|4.1.0 |4.2.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26444