This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

ice with tls in mainline (AMD64)


Building the prelink testsuite I get the following error with GCC 3.4 CVS:

$ /opt/gcc/3.4-devel/bin/gcc -fpreprocessed tls1.i -v
Reading specs from /opt/gcc/3.4-devel/lib/gcc-lib/x86_64-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 x86_64-suse-linux-gnu
Thread model: posix
gcc version 3.4 20030511 (experimental)
 /opt/gcc/3.4-devel/lib/gcc-lib/x86_64-suse-linux-gnu/3.4/cc1 -fpreprocessed tls1.i -quiet -dumpbase tls1.i -auxbase tls1 -version -fpreprocessed -o /tmp/ccrqOPSA.s
GNU C version 3.4 20030511 (experimental) (x86_64-suse-linux-gnu)
        compiled by GNU C version 3.4 20030511 (experimental).
GGC heuristics: --param ggc-min-expand=63 --param ggc-min-heapsize=63538
tls1.c: In function `main':
tls1.c:36: error: unrecognizable insn:
(insn 13 12 14 1 0x2a958ebd20 (set (reg/f:DI 61)
        (const:DI (plus:DI (unspec:DI [
                        (symbol_ref:DI ("local") [flags 0x22] <var_decl 0x2a958f84e0 local>)
                    ] 5)
                (const_int 4 [0x4])))) -1 (nil)
    (expr_list:REG_EQUAL (const:DI (plus:DI (unspec:DI [
                        (symbol_ref:DI ("local") [flags 0x22] <var_decl 0x2a958f84e0 local>)
                    ] 5)
                (const_int 4 [0x4])))
        (nil)))
tls1.c:36: 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.

This is on x86-64 but a similiar.

Jakub, any ideas?

Andreas

Attachment: tls1.i
Description: Binary data

-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]