[Bug fortran/91537] Memory leak involving nested allocatable derived types

tkoenig at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Aug 24 08:59:00 GMT 2019


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

--- Comment #1 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Comment on attachment 46748
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46748
Leak demonstration program

Here's the output on current trunk:

          86        2548
          87        2548
          88        2548
          89        2548
          90        2548
          91        2548
          92        2548
          93        2548
          94        2548
          95        2548
          96        2548
          97        2548
          98        2548
          99        2548
         100        2548

Same output with gcc 9.

So, I think the advice would be to upgrade to gcc 9.


More information about the Gcc-bugs mailing list