[Bug fortran/63535] SELECT TYPE shouldn't pass ALLOCATABLE/POINTER attribute through

janus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Sep 22 17:20:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63535

janus at gcc dot gnu.org changed:

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

--- Comment #2 from janus at gcc dot gnu.org ---
(In reply to Tobias Burnus from comment #0) 
> Quoting Wolfgang Kilian:
> 
> "The attributes of the associating entity are listed in 8.1.3.3 of the
> F2008 standard.  (Maybe some other clauses also apply.)  The ALLOCATABLE
> attribute is not among the possible attributes for the associating
> entity.  (Neither is POINTER.)"

I'm not completely sure if section 8.1.3.3 ("Attributes of associate names")
actually applies to the given example, since the SELECT TYPE statement does not
actually contain an associate name.


More information about the Gcc-bugs mailing list