[Bug target/33050] [avr] unnessary register save

eweddington at cso dot atmel dot com gcc-bugzilla@gcc.gnu.org
Wed Aug 22 17:09:00 GMT 2007



------- Comment #2 from eweddington at cso dot atmel dot com  2007-08-22 17:09 -------
4.3.0 20070817 snapshot generates this for the testcase:

test2:
        push r16
        push r17
/* prologue: function */
/* frame size = 0 */
        mov r16,r24
        ldi r24,lo8(10)
        call foo
        mov r17,r24
        ldi r24,lo8(10)
        call foo
        mov r24,r16
        add r24,r17
/* epilogue start */
        pop r17
        pop r16
        ret


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33050



More information about the Gcc-bugs mailing list