nested derived type

Hi,

i have problems with nested derived types that
pgf90 errors with:
“PGF90-S-0155-SEQUENCE must be set for nested derived type typ_b”

Excample:
type typ_a
sequence
type (typ_b), pointer :: pt_b
end type typ_a

type typ_b
sequence
type (typ_a), pointer :: pt_a
end type typ_b

Any ideas how to solve this Problem?

Unfortunately, it looks like a bug. I go ahead an submit a TPR to get it fixed. I’m not sure what the best work around would be, short of not using sequence in the example.

Thanks,
Mat