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

Paul Thomas <pault at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at gcc dot gnu.org      |pault at gcc dot gnu.org

--- Comment #7 from Paul Thomas <pault at gcc dot gnu.org> ---
Created attachment 65579
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=65579&action=edit
Partial fix for this PR

The attached fixes the original test. However, the more elaborate test fails to
compile with:


   76 |     allocate (character(len=i) :: obj%x(3))
      |                                   1~~~~~~~
Error: Allocating obj at (1) with type-spec requires the same character-length
parameter as in the declaration

I'm onto it.

Paul

Reply via email to