------- Comment #9 from anitha dot boyapati at atmel dot com 2010-03-08 06:04 ------- (In reply to comment #5) > Fails with gcc 4.4.3 and gcc 4.5 with -O1. >
Correction : The bug passes with 4.4.2 and above versions. Code generated can be seen below. func_45: ... rcall func_15 mov r28,r24 mov r29,r25 ldi r22,lo8(1) ldi r23,hi8(1) ldi r24,hlo8(1) ldi r25,hhi8(1) .L9: sbiw r28,0 breq .L8 lds r18,g_54 lds r19,(g_54)+1 lds r20,(g_54)+2 lds r21,(g_54)+3 .L8: ldi r18,lo8(1) -- anitha dot boyapati at atmel dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |anitha dot boyapati at atmel | |dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39223