http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57116
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2013-04-29
Ever Confirmed|0 |1
--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2013-04-29
21:54:39 UTC ---
Confirmed. The test passes if I define explicitly the bounds, i.e.,
subroutine extract(this, v, ic)
class(*), target :: this(:)
real, pointer :: v(:)
integer :: ic, m, n
n = ubound(this,1)
m = n-ic+1
select type (this)
type is (real)
v(1:m) => this(ic:n)
class is (foo)
v(1:m) => this(ic:n)%v
end select
end subroutine extract