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

--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
Btw, use of TLS has

 * size of counters overhead (one could use char sized TLS counters and
   update the global ones with locking on overflow)
 * tear-down/build-up cost at thread termination/creation

the advantage is of course it's simple implementation-wise.

Reply via email to