This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/11826] [ARM] Minor register allocation problem before function return
- From: "ramana dot r at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Mar 2009 12:28:33 -0000
- Subject: [Bug rtl-optimization/11826] [ARM] Minor register allocation problem before function return
- References: <bug-11826-5666@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from ramana dot r at gmail dot com 2009-03-13 12:28 -------
(In reply to comment #5)
> Can an ARM maintainer please check this bug? Comment #4 suggests this bug is
> fixed, but it needs re-checking now that IRA has been merged.
This is now fixed on mainline even after IRA . This bug can now be closed.
foo:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
mov r3, r0
cmn r1, r0
rsbeq r0, r1, r0
rsbne r0, r3, r1
bx lr
.size foo, .-foo
.ident "GCC: (GNU) 4.4.0 20090312 (experimental)"
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11826