This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/14322] New: Unrecognizable lo_sum insn with -m64 and -fPIC
- From: "ehrhardt at mathematik dot uni-ulm dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Feb 2004 16:25:18 -0000
- Subject: [Bug target/14322] New: Unrecognizable lo_sum insn with -m64 and -fPIC
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The following code gives an unrecognizable insn on sparc-sun-solaris
with -m64 -fPIC:
=================================
int foo;
void * f ()
{
return &foo;
}
=================================
The error message is:
locale.cc: In function `f':
locale.cc:5: error: unrecognizable insn:
(insn 9 8 10 0 (set (reg:DI 112)
(lo_sum:DI (reg:DI 112)
(unspec:DI [
(symbol_ref:SI ("foo") <var_decl ff202d80 foo>)
] 0))) -1 (nil)
(nil))
locale.cc:5: internal compiler error: in extract_insn, at recog.c:2083
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
--
Summary: Unrecognizable lo_sum insn with -m64 and -fPIC
Product: gcc
Version: tree-ssa
Status: UNCONFIRMED
Severity: critical
Priority: P2
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: ehrhardt at mathematik dot uni-ulm dot de
CC: gcc-bugs at gcc dot gnu dot org
GCC host triplet: sparc-sun-solaris2.9
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14322