https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86576
--- 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. Cheers Paul