[Bug tree-optimization/53870] Redundant memory load

2012-07-05 Thread unixoid2003 at mail dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53870 --- Comment #1 from brag 2012-07-06 06:17:19 UTC --- *** Bug 53869 has been marked as a duplicate of this bug. ***

[Bug tree-optimization/53869] Redundant memory load

2012-07-05 Thread unixoid2003 at mail dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53869 brag changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug tree-optimization/53869] Redundant memory load

2012-07-05 Thread unixoid2003 at mail dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53869 --- Comment #1 from brag 2012-07-06 06:16:05 UTC --- class test{ public: void remove(); private: test *next; test *prev; }; void test::remove(){ next->prev=prev; prev->next=next; } arm-none-eabi-gcc++ -mcpu=cortex-m3 -mthumb

[Bug tree-optimization/53870] New: Redundant memory load

2012-07-05 Thread unixoid2003 at mail dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53870 Bug #: 53870 Summary: Redundant memory load Classification: Unclassified Product: gcc Version: 4.7.1 Status: UNCONFIRMED Severity: minor Priority: P3 Compone

[Bug tree-optimization/53869] New: Redundant memory load

2012-07-05 Thread unixoid2003 at mail dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53869 Bug #: 53869 Summary: Redundant memory load Classification: Unclassified Product: gcc Version: 4.7.1 Status: UNCONFIRMED Severity: minor Priority: P3 Compone

[Bug c/53085] writes to volatile struct members is missing

2012-04-24 Thread unixoid2003 at mail dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53085 --- Comment #4 from brag 2012-04-24 12:27:29 UTC --- Alexander Monakov, As for me it's ok to treat whole struct as non-volatile even if it has a volatile members when doing smth like this: struct ss0 a,b; a=b; a=b; Simple example with class: cla

[Bug c/53085] writes to volatile struct members is missing

2012-04-23 Thread unixoid2003 at mail dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53085 brag changed: What|Removed |Added Severity|critical|normal

[Bug c/53085] write to volatile struct member is missing on Cortex-M3

2012-04-23 Thread unixoid2003 at mail dot ru
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

[Bug c/53085] write to volatile struct member is missing on Cortex-M3

2012-04-23 Thread unixoid2003 at mail dot ru
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

[Bug c/53085] New: write to volatile struct member is missing on Cortex-M3

2012-04-23 Thread unixoid2003 at mail dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53085 Bug #: 53085 Summary: write to volatile struct member is missing on Cortex-M3 Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED S