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

anlauf at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2022-05-10
     Ever confirmed|0                           |1

--- Comment #1 from anlauf at gcc dot gnu.org ---
Confirmed.

The code is accepted if you *don't* use the result clause, as in:

function create()
  class(a), dimension(:), contiguous, pointer :: create
end function create

There are a couple PRs about declarations involving CLASS where attributes
are specified separately.  There could be a relation.

Reply via email to