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

--- Comment #1 from ibuclaw at gcc dot gnu.org ---
Author: ibuclaw
Date: Thu Apr 25 15:31:35 2019
New Revision: 270576

URL: https://gcc.gnu.org/viewcvs?rev=270576&root=gcc&view=rev
Log:
libphobos: Fix segfault in runtime caused by unexpected GC of TLS data.

libphobos/ChangeLog:

2019-04-25  Iain Buclaw  <ibuc...@gdcproject.org>

        PR d/90250
        * libdruntime/gcc/sections/elf_shared.d (initTLSRanges): Populate
        _tlsRanges in every startup thread.
        * testsuite/libphobos.thread/thread.exp: Load libphobos-dg.exp.
        * testsuite/libphobos.thread/tlsgc_sections.d: New test.

Added:
    trunk/libphobos/testsuite/libphobos.thread/tlsgc_sections.d
Modified:
    trunk/libphobos/ChangeLog
    trunk/libphobos/libdruntime/gcc/sections/elf_shared.d
    trunk/libphobos/testsuite/libphobos.thread/thread.exp

Reply via email to