[Bug target/46250] ICE: in extract_insn, at recog.c:2110 (unrecognizable insn) with -fPIC -mcmodel=large and __thread variable
ubizjak at gmail dot com
gcc-bugzilla@gcc.gnu.org
Sun Apr 28 10:12:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46250
Uros Bizjak <ubizjak at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hjl.tools at gmail dot com,
| |ubizjak at gmail dot com
--- Comment #4 from Uros Bizjak <ubizjak at gmail dot com> 2013-04-28 10:12:49 UTC ---
(In reply to comment #3)
> Confirmed based on the dups.
This is ABI limitaton, we can't use indirect call that is necessary to reach
__tls_get_addr in the large memory space here. IIRC, -mtls-dialect=gnu2 should
be used with -mcmodel=large to solve this problem, but the former option is
somehow untested.
We shouldn't ice here, though.
I am adding HJ for his opinion on ABI issue.
More information about the Gcc-bugs
mailing list