This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/26461] liveness of thread local references across function calls
- From: "stephan at tobies dot info" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 13 Jul 2017 09:45:52 +0000
- Subject: [Bug middle-end/26461] liveness of thread local references across function calls
- Auto-submitted: auto-generated
- References: <bug-26461-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26461
--- Comment #18 from Stephan Tobies <stephan at tobies dot info> ---
+1 - I have a use case where a QuickThread is migrated from one pthread to
another. TLS would need to be re-fetched after this migration, but is not due
to CSE optimizations. Having a way to disable this optimization, either locally
or on a per-file basis would be very useful!