------- Comment #2 from smal dot root at gmail dot com 2010-03-08 21:15 ------- (In reply to comment #1) > I cannot reproduce the problem. > > c: 80 91 00 00 lds r24, 0x0000
Its mean load data from SRAM at address 0x0000. Variable (in our case mUsart0BufferReadPtr) has address not equal to zero. In my first post i use three equal strings rdptr = mUsart0BufferReadPtr; because first generated with error -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43104