This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/27531] [4.2 regression] sparc: undefined reference to .LL226 with -O2
- From: "steven at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Jun 2006 09:21:42 -0000
- Subject: [Bug target/27531] [4.2 regression] sparc: undefined reference to .LL226 with -O2
- References: <bug-27531-12387@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #12 from steven at gcc dot gnu dot org 2006-06-11 09:21 -------
The offending insns for me are (using -dAP):
!(insn 315 243 316 (set (reg/f:SI 19 %l3 [167])
! (high:SI (label_ref:SI 123))) 40 {*movsi_high} (nil)
! (nil))
sethi %hi(.LL20), %l3 ! 315 *movsi_high [length = 1]
!(insn 316 315 301 (set (reg/f:SI 19 %l3 [167])
! (lo_sum:SI (reg/f:SI 19 %l3 [167])
! (label_ref:SI 123))) 39 {*movsi_lo_sum} (nil)
! (nil))
and
!(insn 319 253 320 (set (reg/f:SI 19 %l3 [167])
! (high:SI (label_ref:SI 123))) 40 {*movsi_high} (nil)
! (nil))
sethi %hi(.LL20), %l3 ! 319 *movsi_high [length = 1]
!(insn 320 319 365 (set (reg/f:SI 19 %l3 [167])
! (lo_sum:SI (reg/f:SI 19 %l3 [167])
! (label_ref:SI 123))) 39 {*movsi_lo_sum} (nil)
! (nil))
or %l3, %lo(.LL20), %l3 ! 320 *movsi_lo_sum [length = 1]
These insns appear for the first time in the .greg dump. This probably means,
I'm sorry to say, that this is a reload issue.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27531