avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] avr-gcc bug while initialising variables


From: E. Weddington
Subject: Re: [avr-gcc-list] avr-gcc bug while initialising variables
Date: Wed, 04 Aug 2004 16:16:34 -0600

On 4 Aug 2004 at 11:58, Dmitry K. wrote:

> As Emil wrote:
> > int
> > main( void )
> > {
> >   unsigned char   s[8] = { 0x6E, 0x4E, 0xF7, 0x07, 0x41, 0xFA, 0xB9, 0xD4
> > }; unsigned char   d[8] = { 0x1B, 0x55, 0x7C, 0xE6, 0x54, 0xAC, 0x54, 0xDB
> > }; return 0;
> > }
> >
> > Compile it with version 3.4.0 and the following flags:
> > CPFLAGS = -mmcu=atmega16 -g -O3 -funsigned-char -funsigned-bitfields
> > -fpack-struct -fshort-enums -Wall -W
> >
> ...
> >
> > For the second initialisation there is a "ldi r24, 0x08" instruction
> > missing from the code.
> 
> Yes, 3.4.1 --> the same error.
> 3.3.4 --> OK.

Perhaps the OP could file a bug report in GCC's database?

Eric


reply via email to

[Prev in Thread] Current Thread [Next in Thread]