Re: [C++ PATCH] Fix thread_local initialization (PR c++/60702, take 2)

2019-03-22 Thread Jason Merrill
On 3/22/19 8:55 AM, Jakub Jelinek wrote: On Thu, Mar 21, 2019 at 07:31:44PM -0400, Jason Merrill wrote: How about else if (tree wrap = maybe_call_tls_wrapper_fn (expr)) expr = wrap; LGTM. Here is the full patch I've bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk? OK

[C++ PATCH] Fix thread_local initialization (PR c++/60702, take 2)

2019-03-22 Thread Jakub Jelinek
On Thu, Mar 21, 2019 at 07:31:44PM -0400, Jason Merrill wrote: > How about > > else if (tree wrap = maybe_call_tls_wrapper_fn (expr)) > expr = wrap; LGTM. Here is the full patch I've bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk? 2019-03-22 Jakub Jelinek PR c