https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63667
janus at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Target Milestone|--- |7.0 --- Comment #2 from janus at gcc dot gnu.org --- On current trunk ... gcc version 7.0.0 20161130 (experimental) [trunk revision 243005] (GCC) ... the ICE is gone and gfortran gives the following output on the test case: c0.f90:21:48: CLASS( cu_user_function_type ) :: user_func 1 Error: Component ‘user_func’ with CLASS at (1) must be allocatable or pointer c0.f90:32:29: write(*,*) this%user_func%evaluate ( r ) 1 Error: ‘user_func’ at (1) is not a member of the ‘cu_type’ structure Closing as fixed.