This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/14322] Unrecognizable lo_sum insn with -m64 and -fPIC
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Mar 2004 19:19:00 -0000
- Subject: [Bug target/14322] Unrecognizable lo_sum insn with -m64 and -fPIC
- References: <20040227162515.14322.ehrhardt@mathematik.uni-ulm.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-03-10 19:18 -------
Actually I just reproduced it on the mainline (20040310):
./cc1 pr14322.c -m64 -fPIC
f
pr14322.c: In function `f':
pr14322.c:5: error: unrecognizable insn:
(insn 11 10 12 0 (set (reg:DI 112)
(lo_sum:DI (reg:DI 112)
(unspec:DI [
(symbol_ref:SI ("foo") <var_decl 0x40eea5e4 foo>)
] 0))) -1 (nil)
(nil))
pr14322.c:5: internal compiler error: in extract_insn, at recog.c:2074
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
Now if I do:
./cc1 pr14322.c -m64 -fPIC -mptr64
It works, so this is a target bug.
--
What |Removed |Added
----------------------------------------------------------------------------
Component|middle-end |target
Known to fail|tree-ssa |tree-ssa 3.5.0
Version|tree-ssa |3.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14322