[Bug target/11129] New: TLS broken on i686 and x86-64

aj@gcc.gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jun 9 09:58: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=11129

           Summary: TLS broken on i686 and x86-64
           Product: gcc
           Version: 3.4
            Status: NEW
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P2
         Component: target
        AssignedTo: jakub@gcc.gnu.org
        ReportedBy: aj@gcc.gnu.org
                CC: gcc-bugs@gcc.gnu.org,jh@suse.cz
  GCC host triplet: i686-linux-gnu

gromit:~/tmp:[1]$ /opt/gcc/3.4-devel/bin/gcc -fpreprocessed tls1.i -O2
tls1.i: In function `main':
tls1.i:64: error: unrecognizable insn:
(insn:HI 19 362 20 1 0x40194580 (set (reg/f:SI 66)
        (const:SI (plus:SI (unspec:SI [
                        (symbol_ref:SI ("local") [flags 0x22] <var_decl
0x40197a20 local>)
                    ] 5)
                (const_int 4 [0x4])))) -1 (nil)
    (nil))
tls1.i:64: internal compiler error: in extract_insn, at recog.c:2188
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
gromit:~/tmp:[1]$ /opt/gcc/3.4-devel/bin/gcc -fpreprocessed -v
Reading specs from /opt/gcc/3.4-devel/lib/gcc-lib/i686-suse-linux-gnu/3.4/specs
Configured with: /cvs/gcc/configure --prefix=/opt/gcc/3.4-devel --disable-nls
--enable-threads=posix --enable-clocale=gnu --enable-__cxa_atexit
--enable-shared --enable-languages=c,c++,f77,objc,ada,treelang,java,f77
--enable-checking=misc,tree,rtl,gc,rtlflag --with-system-zlib i686-suse-linux-gnu
Thread model: posix
gcc version 3.4 20030604 (experimental)

Btw. the same appears with x86_64:
http://gcc.gnu.org/ml/gcc-bugs/2003-05/msg00940.html



More information about the Gcc-bugs mailing list