This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/48900] New: unnecessary duplicate __tls_get_addr calls
- From: "amodra at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 6 May 2011 00:39:06 +0000
- Subject: [Bug target/48900] New: unnecessary duplicate __tls_get_addr calls
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48900
Summary: unnecessary duplicate __tls_get_addr calls
Product: gcc
Version: 4.5.3
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: amodra@gmail.com
This testcase when compiled with -fPIC generates two calls to __tls_get_addr.
extern __thread int i;
void foo (void) { i++; }
The regression was introduced with the fix for PR44266