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

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

Re: [avr-gcc-list] Bit-field packing order changed between avrgccimpleme


From: Jan Waclawek
Subject: Re: [avr-gcc-list] Bit-field packing order changed between avrgccimplementations
Date: Mon, 3 Dec 2012 11:07:03 +0100

>My evidence is clear, the data sent from the node compiled with the old 
>compiler is received correctly 

That's far of being a clear evidence. There are too many unknowns in your
hand we cannot see nor judge.

Can you please compile with your present compiler (into asm, with -S)
Johann's example and show the result here?


struct
{
    unsigned b0 :1;
    unsigned b1 :1;
    unsigned b2 :1;
    unsigned b3 :1;
    unsigned b4 :1;
    unsigned b5 :1;
    unsigned b6 :1;
    unsigned b7 :1;
} b;

void f1 (void)
{
    b.b7 = 1;
}


JW





reply via email to

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