https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59093
Vittorio Zecca <zeccav at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zeccav at gmail dot com --- Comment #12 from Vittorio Zecca <zeccav at gmail dot com> --- Bug still present in gcc 8.0.0 trunk 247930. In this test case: subroutine extract(this, v) type :: foo real :: v end type class(foo), target :: this(:) real, pointer :: v(:) select type (this) class is (foo) v => this(1:2)%v end select end subroutine