This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/50963] TLS incompatible with -mcmodel=large & PIC
- From: "ubizjak at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 07 Nov 2011 16:24:28 +0000
- Subject: [Bug target/50963] TLS incompatible with -mcmodel=large & PIC
- Auto-submitted: auto-generated
- References: <bug-50963-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50963
--- Comment #1 from Uros Bizjak <ubizjak at gmail dot com> 2011-11-07 16:24:28 UTC ---
The problem is in (call:DI (mem:QI (symbol_ref:DI ("__tls_get_addr")) [0 S1
A8]), the symbol_ref does not satisfy constant_call_address_operand predicate.
Unfortunately, these are specified sequences, so all we can do is to declare
large PIC code model incompatible with GNU TLS dialect.