------- Comment #4 from wvangulik at xs4all dot nl  2008-01-10 19:00 -------
In 4.2.2 there is still no warning when compiling without -O.

void main(void)
{
    volatile struct
    {
        int a, b, c, d, e, f;
    } x;

    x.d = 5;
    asm volatile("in r28, 0x2F" : : : "r28");
    x.d = 6;
}

Using:
avr-gcc -Wall -g -S test.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32895

Reply via email to