This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug rtl-optimization/11826] [ARM] Minor register allocation problem before function return



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]