This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/18910] New: ice with -O2 / works fine with -O0.
- From: "pluto at pld-linux dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Dec 2004 20:07:58 -0000
- Subject: [Bug other/18910] New: ice with -O2 / works fine with -O0.
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
# gcc tst-tls4modb.i -c -O2
tst-tls4modb.c: In function 'test1':
tst-tls4modb.c:50: error: unrecognizable insn:
(insn:HI 89 46 82 3 (set (reg/f:SI 68 [ D.6399 ])
(const:SI (plus:SI (symbol_ref:SI ("foo") [flags 0x1a] <var_decl
0xb7c7fef4 foo>)
(const_int 32 [0x20])))) -1 (nil)
(expr_list:REG_EQUAL (const:SI (plus:SI (symbol_ref:SI ("foo") [flags
0x1a] <var_decl 0xb7c7fef4 foo>)
(const_int 32 [0x20])))
(nil)))
tst-tls4modb.c:50: internal compiler error: in extract_insn, at recog.c:2020
--
Summary: ice with -O2 / works fine with -O0.
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: other
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pluto at pld-linux dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: pentium3-pld-linux
GCC host triplet: pentium3-pld-linux
GCC target triplet: pentium3-pld-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18910