------- Comment #2 from eric dot weddington at atmel dot com  2009-02-24 17:52 
-------
What host are you building on?

With gcc 4.3.2 with patches from WinAVR I get this:

        .file   "test.c"
__SREG__ = 0x3f
__SP_H__ = 0x3e
__SP_L__ = 0x3d
__CCP__  = 0x34
__tmp_reg__ = 0
__zero_reg__ = 1
        .text
.global b
        .type   b, @function
b:
        push r29
        push r28
        rcall .
        rcall .
        in r28,__SP_L__
        in r29,__SP_H__
/* prologue: function */
/* frame size = 4 */
        movw r24,r28
        adiw r24,1
        rcall d
/* epilogue start */
        pop __tmp_reg__
        pop __tmp_reg__
        pop __tmp_reg__
        pop __tmp_reg__
        pop r28
        pop r29
        ret
        .size   b, .-b


-- 

eric dot weddington at atmel dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


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

Reply via email to