------- Comment #13 from pinskia at gcc dot gnu dot org 2010-01-03 07:09 ------- (In reply to comment #12) > Well the other issue is that only post-reload-cse deletes the load/stores > without SRA doing what needs to be done.
This was PR 38513 which we still should be done at the RTL level before the register allocation :). In fact PR 38513 was fixed at the tree level for 4.5 which causes the read-modify-store will work after SRA is fixed. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42586