http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46244

Tobias Burnus <burnus at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |burnus at gcc dot gnu.org

--- Comment #8 from Tobias Burnus <burnus at gcc dot gnu.org> 2010-11-05 
15:01:17 UTC ---
(In reply to comment #7)
>       type b
>               sequence
>               class(a), pointer :: pa
>       end type b

That's invalid per F2008's

"C436 (R425) If SEQUENCE appears, each data component shall be declared to be
of an intrinsic type or of a sequence type, and a type-bound-procedure-part
shall not appear."

Or as NAG puts it:
  Error: ac.f90, line 8: CLASS entity of SEQUENCE type A
and ifort has:

  ac.f90(8): error #8224: A derived type used with the CLASS keyword shall not
have the BIND attribute or SEQUENCE property.   [A]

Reply via email to