Hi Andre,

I forgot to answer your other question:

Am 11.07.23 um 18:23 schrieb Andre Vehreschild via Gcc-patches:
I tried to use a pdt within a derived type as a component. Is that not allowed
by the standard? I know, I could hunt in the standard for it, but when someone
knows out of his head, he could greatly help me out.

You mean something like the following is rejected with a strange error:

 type pdt(n)
     integer, len     :: n = 8
     character(len=n) :: c
  end type pdt
  type t
     type(pdt(42)) :: q
  end type t
  type(t) :: u
end


pr102003.f90:1:10:

    1 |   type pdt(n)
      |          1
Error: Cannot convert TYPE(Pdtpdt) to TYPE(pdt) at (1)


ISTR that there is an existing PR...

Reply via email to