public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/47715] New: [x32] TLS doesn't work
@ 2011-02-13  0:59 hjl.tools at gmail dot com
  2011-02-13  1:49 ` [Bug target/47715] " hjl at gcc dot gnu.org
                   ` (20 more replies)
  0 siblings, 21 replies; 22+ messages in thread
From: hjl.tools at gmail dot com @ 2011-02-13  0:59 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47715

           Summary: [x32] TLS doesn't work
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: hjl.tools@gmail.com


[hjl@gnu-6 ilp32-14]$ cat t.i
extern __thread int h_errno;
int *
__h_errno_location (void)
{
  return &h_errno;
}
[hjl@gnu-6 ilp32-14]$ /usr/gcc-4.6.0-x32/bin/gcc  -mx32 -O2 -S t.i -fPIC
t.i: In function \u2018__h_errno_location\u2019:
t.i:6:1: error: unrecognizable insn:
(call_insn/u 5 4 6 3 (parallel [
            (set (reg:DI 0 ax)
                (call:DI (mem:QI (symbol_ref:DI ("__tls_get_addr")) [0 S1 A8])
                    (const_int 0 [0])))
            (unspec:DI [
                    (symbol_ref:SI ("h_errno") [flags 0x50] <var_decl
0x7f94def6a000 h_errno>)
                ] UNSPEC_TLS_GD)
        ]) t.i:5 -1
     (expr_list:REG_EH_REGION (const_int -2147483648 [0xffffffff80000000])
        (nil))
    (nil))
t.i:6:1: internal compiler error: in extract_insn, at recog.c:2109
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
[hjl@gnu-6 ilp32-14]$


^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2011-08-06 14:50 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-13  0:59 [Bug target/47715] New: [x32] TLS doesn't work hjl.tools at gmail dot com
2011-02-13  1:49 ` [Bug target/47715] " hjl at gcc dot gnu.org
2011-02-13 17:41 ` hjl.tools at gmail dot com
2011-02-13 23:36 ` hjl at gcc dot gnu.org
2011-02-14 18:48 ` hjl at gcc dot gnu.org
2011-02-17 14:32 ` hjl.tools at gmail dot com
2011-02-18  2:50 ` hjl at gcc dot gnu.org
2011-02-25 17:25 ` hjl.tools at gmail dot com
2011-02-25 21:46 ` hjl.tools at gmail dot com
2011-02-25 21:49 ` hjl at gcc dot gnu.org
2011-05-15 23:21 ` hjl at gcc dot gnu.org
2011-06-29 16:40 ` hjl at gcc dot gnu.org
2011-07-05 15:48 ` hjl at gcc dot gnu.org
2011-07-28  2:43 ` hjl.tools at gmail dot com
2011-07-28  2:45 ` hjl.tools at gmail dot com
2011-07-28 14:43 ` uros at gcc dot gnu.org
2011-07-29 13:49 ` uros at gcc dot gnu.org
2011-07-29 13:52 ` ubizjak at gmail dot com
2011-07-29 16:44 ` hjl at gcc dot gnu.org
2011-07-29 16:56 ` hjl at gcc dot gnu.org
2011-08-06 14:26 ` hjl at gcc dot gnu.org
2011-08-06 14:50 ` hjl at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).