[Bug fortran/86576] [F03][OOP] Sourced allocation of object array fails with SEGFAULT

pault at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Oct 9 09:46:00 GMT 2018


--- Comment #4 from Paul Thomas <pault at gcc dot gnu.org> ---
(In reply to Dominique d'Humieres from comment #3)
> AFAICT the test in comment 2 has been fixed between revisions r264451
> (2018-09-20) and r264486 (2018-09-21), may be r264485 (pr87359).

Unfortunately, the original still segfaults.

Tobias's finalization wrapper is rather sensitive for reasons that I am unable
to understand. If any attempt is made to deallocate the target, even if it is
nulled correctly, the finalization wrapper segfaults.

I'll take it although it will be some time before I can turn to it.



More information about the Gcc-bugs mailing list