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 target/33050] [avr] unnessary register save



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


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