------- Comment #6 from anitha dot boyapati at atmel dot com 2010-02-17 11:19 ------- An observation - the same file when compiled with -O1 for i386 target also appears to load g_54 using movl instruction.
_func_45:
...
L11:
testw %bx, %bx
je L7
movl _g_54, %eax
L7:
movl $1, 4(%esp)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39223
