Re: [PATCH][jit] Add thread-local globals to the libgccjit frontend

2019-01-08 Thread Marc Nieper-Wißkirchen
[...] 2019-01-08 Marc Nieper-Wißkirchen * docs/topics/compatibility.rst: Add LIBGCCJIT_ABI_11. * docs/topics/expressions.rst (Global variables): Add documentation of gcc_jit_lvalue_set_bool_thread_local. * docs/_build/texinfo/libgccjit.texi: Regenerate.

Re: [PATCH][jit] Add thread-local globals to the libgccjit frontend

2019-01-08 Thread David Malcolm
On Tue, 2019-01-08 at 14:31 +0100, Marc Nieper-Wißkirchen wrote: > Dear David, > > thank you very much for your timely response and for talking a > thorough > look at my proposed patch. > > Am 07.01.19 um 21:34 schrieb David Malcolm: > > > Have you done the legal paperwork with the FSF for cont

Re: [PATCH][jit] Add thread-local globals to the libgccjit frontend

2019-01-08 Thread Marc Nieper-Wißkirchen
Dear David, thank you very much for your timely response and for talking a thorough look at my proposed patch. Am 07.01.19 um 21:34 schrieb David Malcolm: Have you done the legal paperwork with the FSF for contributing to GCC? See https://gcc.gnu.org/contribute.html#legal Not yet; this i

Re: [PATCH][jit] Add thread-local globals to the libgccjit frontend

2019-01-07 Thread David Malcolm
On Sat, 2019-01-05 at 23:10 +0100, Marc Nieper-Wißkirchen wrote: > This patch adds thread-local globals to the libgccjit frontend. The > library user can mark a global as being thread-local by calling > `gcc_jit_lvalue_set_bool_thread_local'. It is implemented by calling > `set_decl_tls_model (inne

[PATCH][jit] Add thread-local globals to the libgccjit frontend

2019-01-05 Thread Marc Nieper-Wißkirchen
This patch adds thread-local globals to the libgccjit frontend. The library user can mark a global as being thread-local by calling `gcc_jit_lvalue_set_bool_thread_local'. It is implemented by calling `set_decl_tls_model (inner, decl_default_tls_model (inner))', where `inner' is the GENERIC tree co