http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33050
--- Comment #5 from Georg-Johann Lay 2011-05-17
19:28:11 UTC ---
Created attachment 24271
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24271
Assembler output with 4.7.0 r173649
This code is as you expected.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33050
Georg-Johann Lay changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
--
eweddington at cso dot atmel dot com changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Kno
--- 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
--- Comment #3 from wvangulik at xs4all dot nl 2007-08-24 19:36 ---
(In reply to comment #2)
> 4.3.0 20070817 snapshot generates this for the testcase:
>
Well at least the extra clr r25 is gone...
I just tried some simpler code:
extern unsigned char foo();
unsigned char test(unsig
--- 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