This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/32895] Clobber list isn't working



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]