This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/29721] Wrong code when compiling libjava/verify.cc at -O2
- From: "daney at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Nov 2006 01:17:53 -0000
- Subject: [Bug target/29721] Wrong code when compiling libjava/verify.cc at -O2
- References: <bug-29721-7151@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from daney at gcc dot gnu dot org 2006-11-06 01:17 -------
Manually moving the
lw $4,%got($L2406)($28)
to be just before the
addiu $4,$4,%lo($L2406)
and reassembling fixes the problem.
So I think that my analysis about the problem being splitting them up with
another %got() relocation between is correct.
Now the question is how to fix it.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29721