http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53085
--- Comment #2 from brag 2012-04-23 13:19:03 UTC
---
The simpler example:
struct aa{
volatile unsigned short a;
};
struct aa AAmem;
void f(){
AAmem.a=0xff;
AAmem.a=0xff;
}
<_Z1fv>:
0:f240 0300 movwr3, #0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53085
--- Comment #1 from brag 2012-04-23 12:58:17 UTC
---
struct aa{
volatile unsigned short a;
unsigned short b;
volatile unsigned short c;
unsigned short d;
};
#define AAmem ((struct aa *) 256)
static inline unsigned int tx(unsigne