This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/32895] Clobber list isn't working
- From: "wvangulik at xs4all dot nl" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Jan 2008 19:00:51 -0000
- Subject: [Bug target/32895] Clobber list isn't working
- References: <bug-32895-14905@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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