[Bug rtl-optimization/49807] Missed byte (subreg) extraction when storing to volatile mem

2024-12-05 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49807 Georg-Johann Lay changed: What|Removed |Added Target|avr, mips*-*-* |mips*-*-* --- Comment #9 from Georg-J

[Bug rtl-optimization/49807] Missed byte (subreg) extraction when storing to volatile mem

2024-11-18 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49807 Georg-Johann Lay changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug rtl-optimization/49807] Missed byte (subreg) extraction when storing to volatile mem

2024-08-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49807 Andrew Pinski changed: What|Removed |Added CC||tobias at ringis dot se --- Comment #7 f

[Bug rtl-optimization/49807] Missed byte (subreg) extraction when storing to volatile mem

2011-07-24 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49807 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug rtl-optimization/49807] Missed byte (subreg) extraction when storing to volatile mem

2011-07-23 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49807 Andrew Pinski changed: What|Removed |Added Target|avr |avr, mips*-*-* Status|UNCONFI

[Bug rtl-optimization/49807] Missed byte (subreg) extraction when storing to volatile mem

2011-07-21 Thread gjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49807 --- Comment #5 from Georg-Johann Lay 2011-07-21 20:46:05 UTC --- In this case it would not reduce the size of the store, but how can this be seen? It cannot be seen from the insn/pattern alone. Do you have an idea how to attack this optimization

[Bug rtl-optimization/49807] Missed byte (subreg) extraction when storing to volatile mem

2011-07-21 Thread pinskia at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49807 --- Comment #4 from pinskia at gmail dot com 2011-07-21 20:39:08 UTC --- On Thu, Jul 21, 2011 at 1:34 PM, gjl at gcc dot gnu.org wrote: > I don't know the exact rationale why volatile_ok is false in combine. > It' obviously about volatile correc

Re: [Bug rtl-optimization/49807] Missed byte (subreg) extraction when storing to volatile mem

2011-07-21 Thread Andrew Pinski
On Thu, Jul 21, 2011 at 1:34 PM, gjl at gcc dot gnu.org wrote: > I don't know the exact rationale why volatile_ok is false in combine. > It' obviously about volatile correctnet, but I don't see what would break > here. It can, when dealing optimizations that reduce the size of load/stores of vol

[Bug rtl-optimization/49807] Missed byte (subreg) extraction when storing to volatile mem

2011-07-21 Thread gjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49807 --- Comment #3 from Georg-Johann Lay 2011-07-21 20:34:14 UTC --- > (In reply to comment #2) > That's not quite correct. In avr-libc the header file sfr_defs.h will define a > register as this: > > #define SPDR (*((volatile char *) 0x2c)) (volat

[Bug rtl-optimization/49807] Missed byte (subreg) extraction when storing to volatile mem

2011-07-21 Thread eric.weddington at atmel dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49807 --- Comment #2 from Eric Weddington 2011-07-21 20:12:58 UTC --- (In reply to comment #0) > This C source: > > #define SPDR (*((char volatile*) 0x2c)) Hi Johann, That's not quite correct. In avr-libc the header file sfr_defs.h will define a reg

[Bug rtl-optimization/49807] Missed byte (subreg) extraction

2011-07-21 Thread gjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49807 Georg-Johann Lay changed: What|Removed |Added CC||eric.weddington at atmel

[Bug rtl-optimization/49807] Missed byte (subreg) extraction

2011-07-21 Thread gjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49807 --- Comment #1 from Georg-Johann Lay 2011-07-21 19:34:27 UTC --- Created attachment 24804 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24804 C test case as in the initial PR