[Bug target/33050] [avr] unnessary register save
eweddington at cso dot atmel dot com
gcc-bugzilla@gcc.gnu.org
Fri Aug 24 20:42:00 GMT 2007
------- Comment #4 from eweddington at cso dot atmel dot com 2007-08-24 20:41 -------
(In reply to comment #3)
4.3.0 20070817 snapshot produces this for the second test case:
test:
push r17
/* prologue: function */
/* frame size = 0 */
mov r17,r24
call foo
add r24,r17
/* epilogue start */
pop r17
ret
So the second test case is optimized correctly when we get to 4.3.0.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33050
More information about the Gcc-bugs
mailing list