[Bug fortran/82996] ICE and segfault with derived type finalization

ondrej.certik at gmail dot com gcc-bugzilla@gcc.gnu.org
Thu Nov 16 21:48:00 GMT 2017


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

Ondřej Čertík <ondrej.certik at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ondrej.certik at gmail dot com

--- Comment #6 from Ondřej Čertík <ondrej.certik at gmail dot com> ---
The finalizers are the most serious problem with gfortran for us. Every other
bug we can workaround one way or another it seems, but the finalizers are very
hard to workaround, one essentially has to comment them out, not just in our
code, but also in all dependencies, and even then that introduces memory leaks.

What exactly is the problem? Is this a bug in the gfortran frontend, or
something more fundamental? Is this a relatively simple fix for somebody who
understands the internals, or would this require a significant time investment
and redesign of the code?


More information about the Gcc-bugs mailing list