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

G. Steinmetz <gs...@t-online.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |82173

--- Comment #1 from G. Steinmetz <gs...@t-online.de> ---

A simplified version without allocatables :


$ cat z2.f90
program p
   type t(a)
      integer, len :: a
   end type
   type t2(b)
      integer, len :: b
      type(t(1)) :: r(b)
   end type
   type(t2(3)) :: x
   print *, x
end


$ gfortran-8-20171015 -c z2.f90
virtual memory exhausted: Cannot allocate memory


# relevant system limits set to "unlimited"


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82173
[Bug 82173] [meta-bug] Parameterized derived type errors

Reply via email to