This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/29900] [4.1/4.2/4.3] stackreg to go wrongs
- From: "hjl at lucon dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Nov 2006 14:44:58 -0000
- Subject: [Bug target/29900] [4.1/4.2/4.3] stackreg to go wrongs
- References: <bug-29900-682@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #9 from hjl at lucon dot org 2006-11-20 14:44 -------
With gcc 4.3, after the regstack pass, I got
insn 20 input stack: empty
insn 22 input stack: [ 9 ]
insn 61 input stack: [ 9 11 ]
...
(insn:TI 61 60 27 2 (set (reg:SF 8 st)
(float:SF (mem:SI (reg/f:SI 7 sp) [0 S4 A8]))) 169 {*floatsisf2_i387}
(nil) (nil))
It looks like gcc is confused when a SF reg is loaded from an integer. It
doesn't keep track that SF 11 == SF 8.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29900