This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/42040] New: [ia64] Inappropriate address spills
- From: "rth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Nov 2009 02:38:34 -0000
- Subject: [Bug target/42040] New: [ia64] Inappropriate address spills
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Looking at msmpeg4.s from PR 41567, build with -O2 -fPIC, we see
.LC2:
data8 mv_tables#+72
...
addl r14 = @gprel(.LC2), gp
We should not have spilled that address to the constant pool.
Add -mno-sdata and it gets worse -- LC2 moves from .sdata to
the .data.rel.ro section but we *still* use @gprel to address
it, and that relocation may well be out of range.
--
Summary: [ia64] Inappropriate address spills
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: rth at gcc dot gnu dot org
GCC target triplet: ia64-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42040