[Bug target/12224] New: TLS doesn't work

hjl at lucon dot org gcc-bugzilla@gcc.gnu.org
Tue Sep 9 16:41:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: TLS doesn't work
           Product: gcc
           Version: 3.3.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hjl at lucon dot org
                CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: ia64-hp-hpux

# cat foo.i
extern __thread int bar __attribute__ ((tls_model ("initial-exec")));
int *
foo (void)
{
  return &bar;
}
# gcc foo.i -S
foo.i: In function `foo':
foo.i:6: error: unrecognizable insn:
(insn 13 12 16 0 (nil) (set (reg:SI 339)
        (reg:DI 343)) -1 (nil)
    (expr_list:REG_DEAD (reg:DI 343)
        (nil)))
foo.i:6: internal compiler error: in extract_insn, at recog.c:2175
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.



More information about the Gcc-bugs mailing list